Subject: Re: apm on Jornada 720/728?
To: Alex Poylisher <sher@komkon.org>
From: Peter Postma <peter@pointless.nl>
List: port-hpcarm
Date: 12/17/2005 18:53:07
On Sat, Dec 17, 2005 at 12:23:29PM -0500, Alex Poylisher wrote:
> How does one configure APM in the hpcarm kernel?  If it doesn't work yet, is
> there another way to check battery status?
> 
> I am running -current built from yesterday's sources on a Jornada 728.
> 

Add "apm0 at j720ssp?" to your kernel config.

But note that the battery status is not very accurate, it will show high
values even when the battery is almost running out.

I think that the formula is incorrect to calculate the battery status,
so I'm using the following patch and it shows much more precise values:
http://nedbsd.nl/~ppostma/hpcarm-apm.diff

-- 
Peter Postma