[Om2008.9] trac/ticket/1742 && power-off from userland

Werner Almesberger werner at openmoko.org
Thu Nov 13 17:09:04 CET 2008

matt_hsu wrote:
>       I've asked Accton about this question, they suggest us to use wmi  
> to configure the power state of WLAN. 

You mean  wmiconfig -i eth0 --wlan disable  ?

This does indeed make a small difference. Some measurements (as
usual, battery current with a battery voltage of 4.0V):

Just booted, sitting idle:		160mA
Associated to AP:			163mA
wmiconfig -i eth0 --wlan disable	160mA
echo 0 >/sys/bus/platform/drivers/gta02-pm-wlan/gta02-pm-wlan.0/power_on

The last one is within measurement error from 160mA.

- Werner

More information about the openmoko-kernel mailing list