Hello,

Palm OS 3.x's SysBatteryInfo function seems to report an accurate 
"percent remaining" value on Palm III and IIIx units.  However, I am 
experiencing some strangeness on a Palm V.  When the unit is fully 
charged in the cradle, the percentage is reported as 100%.  As soon as 
the unit is removed from the charger the percentage is reported as 88%.

UInt                                    volts;
Byte                                    percentRemaining;
volts = SysBatteryInfo (false, NULL, NULL, NULL, NULL, NULL, 
&percentRemaining);

Is there something special I need to code when dealing with a Palm V?  
Shouldn't the OS handle any differences?

Thanks,
-Mike



Reply via email to