Thread
:
BatteryGraph(like) tool that shows power CONSUMPTION?
View Single Post
Matan
2010-08-29 , 12:55
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#
3
The current draw (as you said, averaged over a 5.12s time span) can be read from the BQ27200 chip. You can either use the bq27x00_battery driver (in kernel-power) and read the value from /sys/class/power_supply/bq27200-0/current_now, or talk directly to the BQ27200 over I2C, using i2c-tools. Read the relevant register with the command
i2cget -y 2 0x55 20 w
In both methods, note that the units are unknown, so you can tell when the N900 uses a lot of power or a little power, and you can tell the ratio between a lot and a little, but you can't know exactly how much mAh are drawn.
__________________
My repository
"N900 community support for the MeeGo-Harmattan" Is the new "Mer is Fremantle for N810".
No more Nokia devices for me.
Quote & Reply
|
The Following 3 Users Say Thank You to Matan For This Useful Post:
Corwin
,
lma
,
ossipena
Matan
View Public Profile
Send a private message to Matan
Find all posts by Matan