View Full Version : Catching power-off on PPC?

March 16th, 2005, 06:10 PM
Is there any way to catch power off signal on PPC and do some clean up before powering down - I know it's really a suspend but I'd still like to be able to act on it if poss.


March 17th, 2005, 12:50 AM
No - unfortunately the Pocket PC does not have any mechanism for notifying power off (suspend).

When you resume, that *is* detected, and housekeeping can happen then. This usuallly only affects network connections. For example, on resume, the "GirderActive" variable very is quickly set to "0" and then on re-establishment of the connection (about 5 seconds over Wifi) gets set to "1".