[Bug 788361] The power manager crashes when the power lead is unplugged. The problem does not occur when lead plugged back in again,