![]() |
2010-04-01
, 14:39
|
Posts: 1,341 |
Thanked: 708 times |
Joined on Feb 2010
|
#2
|
![]() |
2010-04-01
, 14:40
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#3
|
![]() |
2010-04-01
, 14:46
|
Posts: 1,224 |
Thanked: 1,763 times |
Joined on Jul 2007
|
#4
|
![]() |
2010-04-01
, 20:26
|
Posts: 1,258 |
Thanked: 672 times |
Joined on Mar 2009
|
#5
|
The Following 5 Users Say Thank You to shadowjk For This Useful Post: | ||
![]() |
2010-04-19
, 00:49
|
Posts: 310 |
Thanked: 383 times |
Joined on Jan 2010
|
#6
|
![]() |
2010-04-19
, 02:38
|
Posts: 1,258 |
Thanked: 672 times |
Joined on Mar 2009
|
#7
|
Anyone know what units current_now is? It seems like it should be mA, but the values I'm reading are ridiculously high; it can't possibly be drawing 3A while playing back a video; the battery would only last 30 minutes.
The Following User Says Thank You to shadowjk For This Useful Post: | ||
![]() |
2010-04-19
, 04:00
|
Posts: 310 |
Thanked: 383 times |
Joined on Jan 2010
|
#8
|
![]() |
2011-02-19
, 21:36
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#9
|
Insert the two modules:
http://my.arava.co.il/~matan/770/n900/power_supply.ko
http://my.arava.co.il/~matan/770/n90...x00_battery.ko
And you will have a directory /sys/class/power_supply/bq27200-0 containing files: capacity, current_now, temp, voltage_now.
If you wish to compile it yourself, get kernel-source package, change the file drivers/power/bq27x00_battery.c to this: http://my.arava.co.il/~matan/770/n900/bq27x00_battery.c and reconfigure kernel so that CONFIG_BATTERY_BQ27x00=m.
My repository
"N900 community support for the MeeGo-Harmattan" Is the new "Mer is Fremantle for N810".
No more Nokia devices for me.