Active Topics

 


Reply
Thread Tools
Posts: 26 | Thanked: 2 times | Joined on Dec 2010
#1
Hello,

when i turn on my N900 ith any kind of battery it shows me in the statusbar a charge of 0% - even when the battery is fully charged.

When i connect a charger it will show a green led too...

Anybody a idea what's wrong?
 
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#2
Originally Posted by delta.br View Post
Hello,

when i turn on my N900 ith any kind of battery it shows me in the statusbar a charge of 0% - even when the battery is fully charged.

When i connect a charger it will show a green led too...

Anybody a idea what's wrong?
I think you use power-kernel v47, if so, here is the fix :

Code:
clear && ID=$(id -un) ; if [ ${ID} != "root" ] ; then echo "You are not 'root', please use this command line as 'root' ..." ; else echo "Ok, you are 'root' ..." ; if grep -q "bq27x00_battery" /etc/modprobe.d/blacklist 2>/dev/null ; then echo "Patch already applyed, nothing to be done ..." ; echo "" ; else echo "Applying patch now ..." ; echo "blacklist bq27x00_battery" >>/etc/modprobe.d/blacklist ; echo "" ; echo "DONE, PLEASE REBOOT YOUR DEVICE ..." ; echo "" ; fi ; fi

Apply it and things gona work like expected after that ...

A++
 
pious_momin's Avatar
Posts: 251 | Thanked: 90 times | Joined on Nov 2009 @ Earth, Milky-way Galaxy
#3
Originally Posted by colin.stephane View Post
I think you use power-kernel v47, if so, here is the fix :

Code:
clear && ID=$(id -un) ; if [ ${ID} != "root" ] ; then echo "You are not 'root', please use this command line as 'root' ..." ; else echo "Ok, you are 'root' ..." ; if grep -q "bq27x00_battery" /etc/modprobe.d/blacklist 2>/dev/null ; then echo "Patch already applyed, nothing to be done ..." ; echo "" ; else echo "Applying patch now ..." ; echo "blacklist bq27x00_battery" >>/etc/modprobe.d/blacklist ; echo "" ; echo "DONE, PLEASE REBOOT YOUR DEVICE ..." ; echo "" ; fi ; fi

Apply it and things gona work like expected after that ...

A++
how to apply it, kindly tel us...
__________________
Nokia N9 Black (64GB): Meego 1.2 Harmattan PR 1.3

Nokia N900 (48GB): Maemo 5 PR 1.3 CSSU Smeamo6
 
Posts: 26 | Thanked: 2 times | Joined on Dec 2010
#4
Patch applied. Finally after a reboot still the same problem.

how to apply it, kindly tel us...
I used SSH for doing it... Anyway u can parse it in the shell ith "sudo gainroot", too.

Last edited by delta.br; 2011-07-13 at 16:15.
 
Posts: 26 | Thanked: 2 times | Joined on Dec 2010
#5
Just a quick information: BatteryGraph shows me correct charge of 94%... It's just the status panel which gives wrong information... See attached screenshots...

Strange...
Attached Images
  
 
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#6
Originally Posted by delta.br View Post
Just a quick information: BatteryGraph shows me correct charge of 94%... It's just the status panel which gives wrong information... See attached screenshots...

Strange...
From where did you installed this status panel for battery, looked mine, I have not the same (mine doesn't report percentage of charge and time left ...

A++
 
eefo's Avatar
Posts: 1,444 | Thanked: 461 times | Joined on Dec 2010 @ pakistan
#7
have you rebooted the device ?
as most of these sorta errors recover after rebooting.
__________________
Every hero becomes a bore at last.
www.itechiapk.com
 
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#8
Also, just to be sure, what does this output ? :

Code:
lshal -u /org/freedesktop/Hal/devices/computer_power_supply_battery_bq27200_0 | grep battery.charge_level.percentage | awk '{print "Battery reported by driver b27x00_battery : "$3"%"}' ; lshal -u /org/freedesktop/Hal/devices/bme | grep battery.charge_level.percentage | awk '{print "Battery reported by Nokia bme binary : "$3"%"}'
A++
 
Posts: 26 | Thanked: 2 times | Joined on Dec 2010
#9
Here you go:
root@Nokia-N900 ~ # lshal -u /org/freedesktop/Hal/devices/computer_power_supplybattery_bq27200_0 | grep battery.charge_level.percentage | awk '{print "Batteryreported by driver b27x00_battery : "$3"%"}' ; lshal -u /org/freedesktop/Hal/deices/bme | grep battery.charge_level.percentage | awk '{print "Battery reportedby Nokia bme binary : "$3"%"}'
Battery reported by Nokia bme binary : 100%
 
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#10
Originally Posted by delta.br View Post
Here you go:
Report seem good so.

Seem, the status panel have a bug ...

Why ? I don't really know ...

Have you checked another reboot to see if that fix your problem, like 'eefo' suggested ?

A++
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:13.