blink AUX or power light while suspended?

Rask Ingemann Lambertsen ccc94453 at vip.cybercity.dk
Sat Aug 29 23:04:02 CEST 2009


On Fri, Aug 28, 2009 at 11:06:24PM +0200, arne anka wrote:
> > This post in that same thread mentions that leaving an LED on would
> > halve the battery life while suspended:
> 
> what it says is, _blinking_ would halve it, since blinking would mean  
> resume/suspend/resume/suspend ...

   No, leaving it permanently lit would approximately halve battery life.
Suspend current is around 8 mA, AUX LED current is around 6 mA (GTA02
revision 6)[1]. Blinking an LED with repeated resume/suspend cycles would have
a much worse effect on battery life because of all the work the CPU has to
do.

[1] # echo >/sys/class/i2c-adapter/i2c-0/0-0073/pcf50633-mbc/usb_curlim 0 \
&& sleep 60 && cat /sys/class/power_supply/battery/current_now && \
echo >/sys/class/leds/gta02-aux\:red/brightness 1 && sleep 60 && \
cat /sys/class/power_supply/battery/current_now ; \
echo >/sys/class/leds/gta02-aux\:red/brightness 0 ; \
echo >/sys/class/i2c-adapter/i2c-0/0-0073/pcf50633-mbc/usb_curlim 500
46500
52875

-- 
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