I didn't test this, but maybe SndPlaySystemSound wakes up the device (even if the screen does not wake up), hence the new sleep event. How about using a preference or a database to record each sleep event. In addition you can also check for the wakeup event, so you might see a patern. LionScribe
-- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
