If your phone dies, please connect it to a charger at the earliest convenience.  To access your room in the meantime, you can request a plastic key from the front desk.  Once you are able to power the device back on, the key should still function as normal.