Letux Kernel

Power-Management

You are looking at an old revision of the page Power-Management. This revision was created by Julius Bünger.

Table of Content

Device power consumption

Power consumption of running GTA04

With screen off in idle it should be ~75mA, with screen on it should be ~200mA

http://lists.goldelico.com/pipermail/gta04-owner/2012-July/002660.html

Power consumption of GTA04 in suspend

During suspend all devices except modem and RAM should be turned off. Currently 3.5 kernel draws in this state ~25mA. This was tested with QtMoko v49. The numbers vary on your location and can be in interval 22..35mA.

Modem consumption

Modem should normally draw 3..10mA, but it can be a lot more when signal is bad.

http://lists.goldelico.com/pipermail/gta04-owner/2012-November/003397.html

Gyroscope consumption

6mA (at 2.8V) about 2-3 mA at battery voltage

http://lists.goldelico.com/pipermail/gta04-owner/2012-August/002767.html

Latest Discussion about Power Consumption

http://lists.goldelico.com/pipermail/gta04-owner/2015-September/006735.html

This script to measure the power was posted: #!/bin/sh

# disable charging, suspend for 5 minutes and report apparent
# power usage by monitoring battery.

power1=/sys/class/power_supply/twl4030_usb/mode
power2=/sys/class/power_supply/twl4030_ac/mode
chg=/sys/class/power_supply/bq27000-battery/charge_now
rs232=/sys/class/gpio/gpio13/value
rs232dir=/sys/class/gpio/gpio13/direction
delay=${1-300}
[ -f $rs232 ] || { echo 13 > /sys/class/gpio/export; echo high > $rs232dir;}

stty raw -echo -cread
echo 0 > $rs232
echo off > $power1
echo off > $power2
before=`cat $chg`
start=`date '+%s'`
echo $[start+delay] > /sys/class/rtc/rtc0/wakealarm
echo mem > /sys/power/state
after=`cat $chg`
end=`date '+%s'`
echo 1 > $rs232
stty sane
echo auto > $power1
echo auto > $power2

echo $[(before-after)*3600/(end-start)] uA over $[end-start] seconds