|
2011-06-20
, 19:41
|
Posts: 462 |
Thanked: 550 times |
Joined on Sep 2008
@ Moscow
|
#742
|
See again what is doc.
Maybe it is remembered incorrectly. And in bq27000.pdf doc is written that this value is updated on a valid learning cycle. Try to discharge and then fully charge battery again.Code:CHARGE_FULL, CHARGE_EMPTY - These attributes means "last remembered value of charge when battery became full/empty".
what is reporting BME?
|
2011-06-20
, 19:46
|
Posts: 462 |
Thanked: 550 times |
Joined on Sep 2008
@ Moscow
|
#743
|
Read until you reach the message where I say the driver doesn't able to calibrate a new battery inserted in the device.
|
2011-06-20
, 19:56
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#744
|
I already tried to explain the behavior of this driver.
If you are interrested, please read from here : http://talk.maemo.org/showthread.php?t=71879&page=54
Read until you reach the message where I say the driver doesn't able to calibrate a new battery inserted in the device.
If so, how can you explain that :
And what is your opinion about the right and the false value ???Code:-bash-2.05b# lshal -u /org/freedesktop/Hal/devices/computer_power_supply_battery_bq27200_0 | grep battery.charge_level.percentage && lshal -u /org/freedesktop/Hal/devices/bme | grep battery.charge_level.percentage battery.charge_level.percentage = 56 (0x38) (int) battery.charge_level.percentage = 95 (0x5f) (int)
You can trust me, the right is the one reported by bme !!!
A++
|
2011-06-20
, 20:10
|
Posts: 462 |
Thanked: 550 times |
Joined on Sep 2008
@ Moscow
|
#745
|
battery.charge_level.percentage = 56 (0x38) (int)
battery.charge_level.percentage = 95 (0x5f) (int)
This is because BME calculate chage_level as charge_now / charge_full_design * 100 and bq report chage_level from chip. Chip define chage_level as charge_now / charge_full * 100
So If you have new battery percentage should be same. But if battery is not new percentage cannot be same.
|
2011-06-20
, 20:13
|
|
Posts: 162 |
Thanked: 64 times |
Joined on Mar 2011
|
#746
|
|
2011-06-20
, 20:17
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#747
|
The difference in percentage is too big, IMO.
Probably not. It's not that old to give zero values and keep working and working and working...
When I was writing previous post, I started playing a movie via WLAN from Mediatomb with all my accounts enabled and mail check... And battery is still not 0%.
|
2011-06-20
, 20:18
|
Posts: 1,163 |
Thanked: 1,873 times |
Joined on Feb 2011
@ The Netherlands
|
#748
|
|
2011-06-20
, 20:21
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#749
|
|
2011-06-20
, 20:40
|
Posts: 1,163 |
Thanked: 1,873 times |
Joined on Feb 2011
@ The Netherlands
|
#750
|
Tags |
battery-status, bq27x00_battery, kernel, kernel-power, misiak4king, noobs-cant-read, pali4president, patches, readdirections, revolverspinyou |
|
I guess I'll just reflash the stock kernel and put v46-wl1 back..
Last edited by JadeH; 2011-06-20 at 19:38.