SysBatteryInfoV20 works for me

UInt WarnLevel, Volts;
Volts = SysBatteryInfoV20(false,&WarnLevel,NULL,NULL,NULL,NULL);

----- Original Message -----
From: "Jay" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[email protected]>
Sent: Friday, July 14, 2000 8:15 AM
Subject: Getting Battery Life????


> Does anyone have a small snippet of code that I can use to determine the
> percentage of Batter life? I've tried the function SysBatteryInfo and
> SysBatteryInfoV20, but I can't get it to work.
>
> Any help would be much appreciated.
> Jay
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>



-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to