Another idea to provide backup power is to have backup battery in the "key". The key wouldn't be need to be mechanical, but electronic, and could provide the juice for emergencies. Another option would be a "key" that acts as microUSB adapter to provide power from phone.