What is the best way to find out if the device is in sleep mode.

I have a procedure alarm that needs to execute its code only if the device is 
in sleep mode. If the device is in use by the user, the function must simply 
exit.

Is there any API call to find out what mode the device is currently in. I have 
looked at the API reference extensively but no luck.

Please help.

Thanks
Sohil
-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to