Hi,

for one of my applications (Energy Dimmer) to work I need to determine
the idle time of the device. The definition of 'idle time' here is the
amount of time passed since the last user event.

On PalmOS 3 and 4 I could use globals (dirty, but working) supplied and
maintained by the OS. On PalmOS 5, these globals do not work anymore. 

But for my application the idle time is essential. So the question is:
Is it possible on PalmOS 5 to determine how much time has passed since
the last user event?

I have asked this question twice a couple of months ago but received no
answer, so I'm trying my luck again. In the meantime I've found a way to
keep track of the idle time, unfortunately not a very efficient way as
it involves registering for the SysNotifyEventDequeued notification and
checking whether it's an event that could only be caused by a user
(pendown, etc). This is way too slow and I'd like to speed things up.

Any help is appreciated, thanks in advance.

-- 
Daniel Seifert <[EMAIL PROTECTED]>


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

Reply via email to