Ronald Gouldner Jr <[EMAIL PROTECTED]>

>My application uses the HwrPluggedIn call to detect the PalmV Cradle's
>charge.

[snip]

>Basically I am in trouble here.  Is there a replacement function I can call?

Ron,

I'm in the same boat.  Have a look at the second to last parm of
SysBatteryInfo:

UInt16 SysBatteryInfo ( Boolean set,
                                UInt16* warnThresholdP,
                                UInt16* criticalThresholdP, 
                                UInt16* maxTicksP,
                                SysBatteryKind* kindP, 
                                Boolean* pluggedIn
                                UInt8* percentP)

According to the docs, pluggedIn returns a pointer to pluggedIn return
value or NULL.

Hope that helps.
-- 
Andrew Ball
[EMAIL PROTECTED]

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to