On Sun, 1 Dec 2002, Miken wrote:

> When battery capability is low,I need warn customer to charge.But how to
> get current capability?

Look up SysBatteryInfo in the Palm OS API Reference.  It returns all sorts
of info about the battery status, including current voltage, percentage
remaining, and a threshold to use for your charge warning.

> and if I use symbol modem for handspring visor,how to get current modem
> battery capability?

There's no standard OS API call that I know of for this.  It would depend
on the vendor.

-- 
-----------------------------------------------------------------------
Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/
Software Developer  //  Gamer  //   Webmaster  //  System Administrator
"We all have our time machines, don't we? Those that take us back are
 memories. Those that carry us forward are dreams."

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

Reply via email to