When the phone is in the dock, is there an app that can detect the loss of external power and power the phone off? I put my phone in the dock every night and last night there was a power failure in my neighborhood. If the power was off for a long enough time I imagine the phone battery could be drained substantially. I woke up during the power failure and shut the phone off to prevent battery drain but it would be nice to have an app that could detect power failure while in dock and shut the phone off. Of course it would have to be an option to do so and maybe optionally sound an alarm on power failure.