> > 5) /proc/apm returns something, not sure if it's right, but things are
> looking
> > good for battery monitors. (what does 255% mean? why does /proc/apm
> show
> > the same thing whether the battery is almost dead or fully charged
> while
> > on charger).
>
> I'm trying to calibrate this conversion. It would help if you could send me
> the output (including the kernel printk's) of a full battery and an almost
> dead battery.
No Problem.
I'm at work now without my charger (only have one). I can get an "almost full"
reading now and an "almost dead" reading in a few hours.
Once home I can get "dead on charger", "full on charger", and "full" readings.
Are those what you need?
Here's an "almost full" reading to start you off:
spider:/mnt/ramfs/root# cat /proc/apm
battRdEvent: len=5
0005600300
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=360
1.13 1.2 0x00 0x00 0xbattRdEvent: len=5
0005600300
ff 0xffh3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=360
255% -1 ?
Dwayne
> -Jamey
>
Received on Fri Sep 22 15:27:05 2000
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:43:42 EDT