Since no one other than Bob bit on the last one I'll ask again...

Let's say I want to track Palm V battery usage which would include charging
time and use time.

Currently the only published way to do that would be to poll sysBatteryInfo
and watch for a change in the 'pluggedIn' value.

To do this when your app is not running it needs to be a Hack.

To be a hack I need to patch something.  I'm trying to avoid patching the
ever popular:
        // Get the current address of SysHandleEvent
        oldTrapAddress = SysGetTrapAddress(sysTrapSysHandleEvent);

So, I was asking if there was something better to key on.  When you guys
notice the change do you set/toggle a system global ?

Is there a method I'm not aware of for a hack to get a nilEvent equivilent
every minute or so ?

-MD
-----------------------------------------------------------------
Matt Disher                                          513.583.0707
Fighter Pilot Software, LLC                      Fax 513.583.0303
3116-C W. Montgomery Rd. #222          eMail: mailto:[EMAIL PROTECTED]
Maineville, OH 45039               web: http://www.fps.com/pilot/
GolfTrac, FPS Utility Pro, HandyCap, & FPS Clock 2 for devices
running the PalmOS (pilot, PalmPilot, PalmIII, WorkPad, etc.)
Custom Programming & Consulting for PalmOS, WinCE, Palm 'sized' CE

Reply via email to