[Debian] Save 8 mA. Apmd considered harmful? (Was: test result of battery current against display brightness and GPS power mode)

Rask Ingemann Lambertsen rask at sygehus.dk
Sun May 10 03:20:42 CEST 2009

On Fri, Mar 27, 2009 at 01:56:26AM +0100, Rask Ingemann Lambertsen wrote:
>    You must have done something wrong. I frequently test power comsumption
> and I get 54 mA on a fully charged battery, dropping slowly as the battery
> discharges[1] and nearly 20 hours battery life.
>    FWIW, I test with this command on a Debian installation:
> sleep 120 && cat /sys/class/power_supply/battery/{status,current_now,voltage_now,capacity}
> [1] It's supposed to be the other way around - current increasing as the
> battery discharges - but there's a current leak somewhere. It was down to 46
> mA not too long ago with a kernel from the andy-tracking branch.

   This mysterious current leak seems to be fixed by not running apmd!

# /etc/init.d/apmd stop
# update-rc.d -f apmd remove
# update-rc.d apmd stop 20 0 1 2 3 4 5 6 .

Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

More information about the community mailing list