Tracking power leackage in my freerunner

rixed at rixed at
Wed Jan 27 13:52:29 CET 2010

-[ Wed, Jan 27, 2010 at 12:41:36PM +0100, Fox Mulder ]----
> rixed at schrieb:
> > I monitored power consumption all day long (from full battery to empty).
> > I observed that the average current consumption (from /sys/.../current_now)
> > is 78mA when "idle". My battery, at full charge, is shown to store 1.1Ah
> > (according to /sys/.../charge_now), which leads to battery life of 14h which is
> > exactly what I observed.
> > 
> > So, I suspect that 78mA when idle, supposed to be in deep sleep mode with
> > a #1024 fixed device is far from ideal.
> I thought the #1024 fix is only helping while the freerunner is
> suspended. For me this fix only changed the current which was consumed
> while suspended and extended my standby time by a factor of nearly 2x.

So what do you have in /sys/class/power_supply/battery/current_now
when idle and not charging ?

Here is for instance a simple script that will log interresting values
every 30 seconds :



while true ; do
		date +"%Y-%m-%d_%H:%M:%S"
		cut -d' ' -f 4,7 /proc/apm
		cat /sys/class/power_supply/battery/charge_now /sys/class/power_supply/battery/current_now /sys/class/power_supply/battery/voltage_now
	) | xargs echo
	sleep 30
done >> $log

I would be very interresting in comparing various people results.

More information about the community mailing list