Hi Todd,

i my project the customer wish to see the battery level in nearly every
form. I have used/use SysBatteryInfo to get this info (and to test if the
SPT is in the cradle). But there is/was a problem: if you call
SysBatterieInfo many times (as i have done; every 10 seconds) you get a
(memory?) problem (i don't know if this is a PalmOS or SymbolPalmOS-problem;
I get this info from Symbol england and USA). After same days the SPT locked
(you can't do anythings with it) and you have to put out the batterie and
put it in again (no reset needed!). It looks like the SPT freezes (same with
display on!) and the only PowerOnButton is a batterie out-and-in.

So i changed the cradle-check to HrwDockStatus (every 10 seconds), and call
SysBatterieInfo only every 15 minutes (or more). So far there was no problem
with the program, but i wish to change the SysBatterieInfo to
HrwBatterieLevel (if there is no memory-problem with this one). So i have to
know what the return of HrwBatterieLevel is.


Thomas Werner
E-Mail: [EMAIL PROTECTED]

>Von: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]Im Auftrag von Todd
>Augsburger
>Gesendet: Dienstag, 17. Juli 2001 14:36
>An: Palm Developer Forum
>Betreff: Re: HrwBatteryLevel
>
>
>
>Thomas,
>
>I have no experience with HrwBatteryLevel, but have found SysBatteryInfo to
>be sufficient for battery level info on the Symbol SPT1700. Is there a
>specific need?
>
>I have found via experience that the Symbols will scan above 10% with
>Lithium batteries (as on a SPT1700), and 25% with standard batteries (as on
>a SPT1500).
>
>I'll share code if it's applicable to your need.
>
>Todd Augsburger
>[EMAIL PROTECTED]
>Roller Organs
>http://www.bright.net/~allmax/index.htm
>
>
>>Subject: problem with LateWakeupNotification
>>From: "Thomas Werner" <[EMAIL PROTECTED]>
>>Date: Mon, 16 Jul 2001 19:35:09 +0200
>>X-Message-Number: 33
>>
>>...
>>
>>System: Symbol SPT1700 - PalmOS 3.5.2 (latest version from Symbol).
>>
>>Another question: Did sameone know what the return from HrwBatteryLevel
>>meens (i get 255 at 100% BatteryLevel)? I haven't found any Docu for the
>>Hrw-functions.
>>
>>
>>Thanks for your help,
>>
>>Thomas Werner  [EMAIL PROTECTED]


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

Reply via email to