Something handy could be a charging mode.
So that in this charging mode, the pandora would shut down when the power cord is unplugged.
Because i've encountered quite a few times that someone unplugs my charger and when i want to use my pandora,
it's battery is completely flat...