I've written an app that plays sounds. It does not register for sysNotifySleepRequestEvent nor sysNotifySleepNotifyEvent. It does register for hsNotifyRemSleepRequestEvent when the app starts, and unregisters when the app stops. My tests on a Treo 650 show the hsNotifyRemSleepRequestEvent is sent three times in a rapid burst every second, regardless of whether I increment the deferSleep field of SleepEventParameterType or not, and regardless of whether I have a sound stream running or not. (According to the _Palm Developer Guide_, if deferSleep is not incremented, after a few seconds the device will go to deep sleep.)

Can anyone shed any light on this? I'm concerned about how much power this is using when my app isn't playing sounds and the screen is off, so users would expect the device to be in deep sleep.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to