Initial attempt to make charge-only mode auto-exit

The idea here is to reboot, as if we long-pressed the power key,
reasonably soon after the voltage is high enough.