How do you check to see if a hand-held device's power is on or not

  • Thread starter Thread starter Noble Bell
  • Start date Start date
N

Noble Bell

I would like to know if there is an easy way, through WM 6 SDK, that I can
check to see if my PPC's power is on or if it is in sleep mode. I would like
to try and find some code in c# if possible. Any help would be great.

Thanks in advance,
 
I don't understand the requirement. If the device is in sleep mode, the
processor is off and can't execute code. Since the code to check could only
run when the device is on, the following would always be accurate:

public static bool DeviceIsOn
{
get { return true; }
}
 
Back
Top