> 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.
>
> -Jamey
Jamey,
Here you go. This is the "almost dead" data. The last reading is no more
than one minute before the machine died due to lack of power.
Pay no attention to the uptime - I think flashing 4MB mp3s
must take a lot of energy. :-) Time deltas may be of use, though.
I hope the whole is useful, but you may want to just skip to the end.
When I get home, I'll run the same script again and log the output
so that I can get a complete "dead on charger" to "full on charger" dataset.
Enjoy,
Dwayne
-----------------------------------------------------------------------------
spider:/mnt/ramfs/root# while [ 1 ]
> do uptime ; cat /proc/apm ; sleep 60;
> done
10:40pm up 3:40, 1 user, load average: 0.00, 0.00, 0.00
battRdEvent: len=5
00052f0300
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=32f
1.13 1.2 0x00 0x00 0xbattRdEvent: len=5
00052f0300
ff 0xffh3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=32f
255% -1 ?
10:41pm up 3:41, 1 user, load average: 0.00, 0.00, 0.00
battRdEvent: len=5
00052d0300
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=32d
1.13 1.2 0x00 0x00 0xbattRdEvent: len=5
00052d0300
ff 0xffh3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=32d
255% -1 ?
10:42pm up 3:42, 1 user, load average: 0.00, 0.00, 0.00
battRdEvent: len=5
00052b0300
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=32b
1.13 1.2 0x00 0x00 0xbattRdEvent: len=5
00052b0300
ff 0xffh3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=32b
255% -1 ?
10:43pm up 3:43, 1 user, load average: 0.00, 0.00, 0.00
battRdEvent: len=5
00052a0300
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=32a
1.13 1.2 0x00 0x00 0xbattRdEvent: len=5
00052a0300
ff 0xffh3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=32a
255% -1 ?
10:44pm up 3:44, 1 user, load average: 0.07, 0.03, 0.00
battRdEvent: len=5
0005280300
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=328
1.13 1.2 0x00 0x00 0xbattRdEvent: len=5
0005280300
ff 0xffh3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=328
255% -1 ?
10:45pm up 3:45, 1 user, load average: 0.02, 0.02, 0.00
battRdEvent: len=5
0005250300
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=325
1.13 1.2 0x00 0x00 0xbattRdEvent: len=5
0005250300
ff 0xff 255% -1 ?
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=325
10:46pm up 3:46, 1 user, load average: 0.01, 0.01, 0.00
battRdEvent: len=5
0005230300
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=323
1.13 1.2 0x00 0x00 0xbattRdEvent: len=5
0005230300
ff 0xffh3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=323
255% -1 ?
10:47pm up 3:47, 1 user, load average: 0.00, 0.01, 0.00
battRdEvent: len=5
0005200300
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=320
1.13 1.2 0x00 0x00 0xbattRdEvent: len=5
0005200300
ff 0xffh3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=320
255% -1 ?
10:48pm up 3:48, 1 user, load average: 0.00, 0.00, 0.00
battRdEvent: len=5
00051d0300
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=31d
1.13 1.2 0x00 0x00 0xbattRdEvent: len=5
00051d0300
ff 0xffh3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=31d
255% -1 ?
10:49pm up 3:49, 1 user, load average: 0.00, 0.00, 0.00
battRdEvent: len=5
00051a0300
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=31a
1.13 1.2 0x00 0x00 0xbattRdEvent: len=5
00051a0300
ff 0xffh3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=31a
255% -1 ?
10:50pm up 3:50, 1 user, load average: 0.00, 0.00, 0.00
battRdEvent: len=5
0005170300
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=317
1.13 1.2 0x00 0x00 0xbattRdEvent: len=5
0005170300
ff 0xffh3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=317
255% -1 ?
10:51pm up 3:51, 1 user, load average: 0.00, 0.00, 0.00
battRdEvent: len=5
0005140300
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=314
1.13 1.2 0x00 0x00 0xbattRdEvent: len=5
0005140300
ff 0xffh3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=314
255% -1 ?
10:52pm up 3:52, 1 user, load average: 0.00, 0.00, 0.00
battRdEvent: len=5
0005100300
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=310
1.13 1.2 0x00 0x00 0xbattRdEvent: len=5
00050f0300
ff 0xffh3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=30f
255% -1 ?
10:53pm up 3:53, 1 user, load average: 0.00, 0.00, 0.00
battRdEvent: len=5
00050c0300
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=30c
1.13 1.2 0x00 0x00 0xbattRdEvent: len=5
00050c0300
ff 0xffh3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=30c
255% -1 ?
10:54pm up 3:54, 1 user, load average: 0.00, 0.00, 0.00
battRdEvent: len=5
0005080300
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=308
1.13 1.2 0x00 0x00 0xbattRdEvent: len=5
0005080300
ff 0xffh3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=308
255% -1 ?
10:55pm up 3:55, 1 user, load average: 0.00, 0.00, 0.00
battRdEvent: len=5
0005030300
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=303
1.13 1.2 0x00 0x00 0xbattRdEvent: len=5
0005030300
ff 0xffh3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=303
255% -1 ?
10:56pm up 3:56, 1 user, load average: 0.00, 0.00, 0.00
battRdEvent: len=5
0005fe0200
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=2fe
1.13 1.2 0x00 0x00 0xbattRdEvent: len=5
0005fe0200
ff 0xffh3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=2fe
255% -1 ?
10:57pm up 3:57, 1 user, load average: 0.00, 0.00, 0.00
battRdEvent: len=5
0005f90200
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=2f9
1.13 1.2 0x00 0x00 0xbattRdEvent: len=5
0005f90200
ff 0xffh3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=2f9
255% -1 ?
10:58pm up 3:58, 1 user, load average: 0.00, 0.00, 0.00
battRdEvent: len=5
0005f30200
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=2f3
1.13 1.2 0x00 0x00 0xbattRdEvent: len=5
0005f30200
ff 0xffh3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=2f3
255% -1 ?
10:59pm up 3:59, 1 user, load average: 0.00, 0.00, 0.00
battRdEvent: len=5
0005ec0200
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=2ec
1.13 1.2 0x00 0x00 0xbattRdEvent: len=5
0005ec0200
ff 0xffh3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=2ec
255% -1 ?
11:00pm up 4:00, 1 user, load average: 0.00, 0.00, 0.00
battRdEvent: len=5
0005e30200
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=2e3
1.13 1.2 0x00 0x00 0xbattRdEvent: len=5
0005e30200
ff 0xffh3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=2e3
255% -1 ?
11:01pm up 4:01, 1 user, load average: 0.00, 0.00, 0.00
battRdEvent: len=5
0005da0200
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=2da
1.13 1.2 0x00 0x00 0xbattRdEvent: len=5
0005da0200
ff 0xffh3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=2da
255% -1 ?
11:02pm up 4:02, 1 user, load average: 0.00, 0.00, 0.00
battRdEvent: len=5
0005ce0200
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=2ce
1.13 1.2 0x00 0x00 0xbattRdEvent: len=5
0005ce0200
ff 0xffh3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=2ce
255% -1 ?
11:03pm up 4:03, 1 user, load average: 0.00, 0.00, 0.00
battRdEvent: len=5
0005c10200
h3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=2c1
1.13 1.2 0x00 0x00 0xbattRdEvent: len=5
0005c10200
ff 0xffh3600_apm_get_power_status: ac_status=0 chem=5 status=0 voltage=2c1
255% -1 ?
Received on Fri Sep 22 18:48:19 2000
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:43:42 EDT