Subject: Re: apm fix for jornada 720
To: Peter Postma <peter@pointless.nl>
From: Hernani Marques Madeira <hernani@vecirex.net>
List: port-hpcarm
Date: 09/18/2005 15:46:32
On Sun, Sep 18, 2005 at 03:37:59PM +0200, Peter Postma wrote:

> I noticed that this message[1] indicates that we're interpreting battery
> values wrong. I've also found another document[2] which states that
> pmdata[2] contains the combined data bits for both batterys and we're
> currently ignoring this.
> 
> Bit 0 & 1 = bit 8 & 9 for the main battery and bit 2 & 3 = bit 8 & 9
> for the backup battery. I've checked this and it seems to be true.
> 
> I also noticed that when the main battery is removed, bit 0 & 1 will both
> set high. When the backup battery is removed, bit 2 & 3 will both set low.
> 
> The main battery data is usually between 425 and 680 on my j720 but it only
> peaks around 680 when AC is online.

And what's about the extended battery; is there also a special interpretation
needed?

--
hernani