Gary a �crit : > Inside my gadget I set power off to like 10 minutes, > then at the end I reset it to what it was before... > > ...as you guessed, the user's power-timeout has long > expired so of course it turns-off immediately. This > only happens when they hit a hardware button (instead > of the launch button), I presume because the hardware > buttons don't "wake" the power timer? > > Obviously I'm doing this wrong...what's the right way > to keep your app from powering-off a little longer > than usual?
I call UInt16 *autoOffTimer = SysSetAutoOffTime( 0 ) before a long print job, and SysSetAutoOffTime( autoOffTimer ); when I'm done. -- Luc Le Blanc -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
