![]() |
2012-11-10
, 14:38
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#962
|
The Following 6 Users Say Thank You to pali For This Useful Post: | ||
![]() |
2012-11-19
, 06:45
|
Posts: 424 |
Thanked: 196 times |
Joined on Mar 2010
@ Sweden
|
#963
|
@toxaris:
Now I see where is problem.
First is that your battery is not calibrated. In this state applet should report "0/0" (instead some bad and uncorrect values).
Second problem is in bq27x00_battery kernel driver. It does not report capacity in % or last full capacity if CI flag is set (when battery is not calibrated). But it report current mAh also when CI flag is set which lead to total mess in status menu plugin.
How to solve first problem: (Stop bme) load drivers and discharge battery until capacity be about 7%. You can also you bq27200.sh script for monitoring EDV1/F LOW flag. After battery will be empty, charge it to full and discharge again.
Now going to fix second problem. Thanks for finding & reporting bug in kernel.
![]() |
2012-11-19
, 07:36
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#964
|
The Following 2 Users Say Thank You to pali For This Useful Post: | ||
![]() |
2012-11-19
, 09:17
|
Posts: 424 |
Thanked: 196 times |
Joined on Mar 2010
@ Sweden
|
#965
|
![]() |
2012-11-19
, 09:37
|
Posts: 424 |
Thanked: 196 times |
Joined on Mar 2010
@ Sweden
|
#966
|
Ahh, I need to install i2c tools, then I misunderstood the instruction in the battery-thread.
Will try that.
![]() |
2012-11-19
, 09:53
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#967
|
Ok, I already had i2c-tools installed.
I have put the file from this link: http://enivax.net/jk/n900/i2cget
in /usr/bin where bq27200.sh also resides.
If I then run bq27200.sh as root I get this output, is it correct?
http://toxaris.com/bq27200.sh.log
![]() |
2012-11-19
, 09:59
|
Posts: 424 |
Thanked: 196 times |
Joined on Mar 2010
@ Sweden
|
#968
|
stop bme modprobe bq27x00_battery modprobe bq2415x_charger
![]() |
2012-11-19
, 10:07
|
Posts: 204 |
Thanked: 423 times |
Joined on Jan 2011
|
#969
|
The Following 4 Users Say Thank You to hxka For This Useful Post: | ||
![]() |
2012-11-19
, 11:37
|
Posts: 424 |
Thanked: 196 times |
Joined on Mar 2010
@ Sweden
|
#970
|
![]() |
Tags |
cssu testing |
Thread Tools | |
|
Now I see where is problem.
First is that your battery is not calibrated. In this state applet should report "0/0" (instead some bad and uncorrect values).
Second problem is in bq27x00_battery kernel driver. It does not report capacity in % or last full capacity if CI flag is set (when battery is not calibrated). But it report current mAh also when CI flag is set which lead to total mess in status menu plugin.
How to solve first problem: (Stop bme) load drivers and discharge battery until capacity be about 7%. You can also you bq27200.sh script for monitoring EDV1/F LOW flag. After battery will be empty, charge it to full and discharge again.
Now going to fix second problem. Thanks for finding & reporting bug in kernel.