Reply
Thread Tools
JadeH's Avatar
Posts: 162 | Thanked: 64 times | Joined on Mar 2011
#741
Since I upgraded to v47 my phone is stuck at the loading screen that has the 5 white dots in the middle and it won't move from there, any idea what's wrong?

I guess I'll just reflash the stock kernel and put v46-wl1 back..

Last edited by JadeH; 2011-06-20 at 19:38.
 
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#742
Originally Posted by pali View Post
See again what is doc.
Code:
CHARGE_FULL, CHARGE_EMPTY - These attributes means "last remembered value of charge when battery became full/empty".
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.

what is reporting BME?
BME is reporting something like 691mAh/1252mAh

I'll give a charge cycle a try and post the results.
 
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#743
Originally Posted by colin.stephane View Post
Read until you reach the message where I say the driver doesn't able to calibrate a new battery inserted in the device.
Unfortunatelly it's not new battery, but the stock one.

Originally Posted by colin.stephane View Post
Same problem for me as you (bad report of current battery charge) with this driver, so, just blacklist it with this command as root
Too much bash for just blacklisting a kernel module ))))))
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#744
Originally Posted by colin.stephane View Post
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.
Originally Posted by colin.stephane View Post
If so, how can you explain that :

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)
And what is your opinion about the right and the false value ???

You can trust me, the right is the one reported by bme !!!

A++
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.

Originally Posted by 412b View Post
Unfortunatelly it's not new battery, but the stock one.
So should be problem with old used battery?
 
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#745
Originally Posted by pali View Post
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.
The difference in percentage is too big, IMO.

Originally Posted by pali View Post
So should be problem with old used battery?
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%.
 
JadeH's Avatar
Posts: 162 | Thanked: 64 times | Joined on Mar 2011
#746
even flashing the stock kernel didn't fix it, damn, i guess i have to reflash everything
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#747
Originally Posted by 412b View Post
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%.
Can you try run this script?
http://enivax.net/jk/n900/bq.tar

It show all info about battery. It use same way as bq kernel driver, but all in userspace with i2cget
 
Posts: 1,163 | Thanked: 1,873 times | Joined on Feb 2011 @ The Netherlands
#748
But something strange is when BME says zero, and bq some more, still the device powers down. If you ask me it seems logical which value is wrong
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#749
I know that BME show me 0% capacity (if bq is blacklisted too) and device can start again if BME (or MCE?) turn off it.
 
Posts: 1,163 | Thanked: 1,873 times | Joined on Feb 2011 @ The Netherlands
#750
is it possible to turn BME off then, but how the bq driver does handle charging?
 
Reply

Tags
battery-status, bq27x00_battery, kernel, kernel-power, misiak4king, noobs-cant-read, pali4president, patches, readdirections, revolverspinyou


 
Forum Jump


All times are GMT. The time now is 18:43.