Reply
Thread Tools
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#601
Originally Posted by Flandry View Post
bq27x00_battery 5264 0
power_supply 7044 1 b27x00_battery

What are you looking for?
Ok, next step, can you put here result of this command now (from a terminal with root access) :

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

Last edited by colin.stephane; 2011-05-17 at 13:49.
 

The Following 2 Users Say Thank You to colin.stephane For This Useful Post:
Flandry's Avatar
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#602
100% and 11%

Edit: and now 100% and 79%
__________________

Unofficial PR1.3/Meego 1.1 FAQ

***
Classic example of arbitrary Nokia decision making. Couldn't just fallback to the no brainer of tagging with lat/lon if network isn't accessible, could you Nokia?
MAME: an arcade in your pocket
Accelemymote: make your accelerometer more joy-ful

Last edited by Flandry; 2011-05-17 at 14:05.
 
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#603
Originally Posted by Flandry View Post
100% and 11%
Final step :

Open a terminal as root, then do :

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 "blacklist 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

For details, please read this thread from here : http://talk.maemo.org/showthread.php?t=71879&page=54

A++

Last edited by colin.stephane; 2011-06-08 at 20:31. Reason: Corrected the script with correct command "blacklist bq27x00_battery", sorry ...
 
Flandry's Avatar
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#604
Originally Posted by colin.stephane View Post
Final step :

Open a terminal as root, then do :

Code:
echo "blacklist bq27x00_battery" >>/etc/modprobe.d/blacklist
Reboot & enjoy !!!

For details, please read this thread from here : http://talk.maemo.org/showthread.php?t=71879&page=54

A++
I don't understand how this is going to help. The battery indicator is obviously not following the Nokia bme binary numbers and it's the battery indicator that suggests the battery is draining faster now. Could you please explain?
__________________

Unofficial PR1.3/Meego 1.1 FAQ

***
Classic example of arbitrary Nokia decision making. Couldn't just fallback to the no brainer of tagging with lat/lon if network isn't accessible, could you Nokia?
MAME: an arcade in your pocket
Accelemymote: make your accelerometer more joy-ful
 

The Following User Says Thank You to Flandry For This Useful Post:
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#605
Originally Posted by Flandry View Post
I don't understand how this is going to help. The battery indicator is obviously not following the Nokia bme binary numbers and it's the battery indicator that suggests the battery is draining faster now. Could you please explain?
What you don't understand ?

NEVER load the 'b27x00_battery' driver, as it breaks bme by exclusively occupying the I2C bus !!!

Like stated by 'joerg_rw' here : http://talk.maemo.org/showpost.php?p...&postcount=534

So, there is no interest at all for the 'bq27x00_battery' driver 'pali' backported to this release.

Also, in this thread, 'pali' say, to apply patch to be able to use the values reported by 'bq27x00_battery' driver he backported, but since the driver is unusable, no need to patch anything, and keep using bme.

Hope it help ...

A++
 
Flandry's Avatar
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#606
Sorry, i read those posts a few days ago and i read them again now and it still makes no sense in the context of what appears to be an increase in battery consumption. Or are you saying that the b27x00 driver causes the battery consumption to increase?
__________________

Unofficial PR1.3/Meego 1.1 FAQ

***
Classic example of arbitrary Nokia decision making. Couldn't just fallback to the no brainer of tagging with lat/lon if network isn't accessible, could you Nokia?
MAME: an arcade in your pocket
Accelemymote: make your accelerometer more joy-ful
 
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#607
Originally Posted by Flandry View Post
Sorry, i read those posts a few days ago and i read them again now and it still makes no sense in the context of what appears to be an increase in battery consumption. Or are you saying that the b27x00 driver causes the battery consumption to increase?
The thing I'm sure of, is the v47 doesn't consume more or less than v46.

You have to find why you see battery drain elsewhere, maybe you have installed another program power consuming since v47 ...

Also, since you have the 'b27x00_battery' loaded, then chances are bme crash like 'joerg_rw' explained ...

After this stated, reading Wiki, bme seem also to control the battery charge, stopping himself during the charge of the battery (if I understand properly).

And I'm pretty sure this step is required to properly calibrate battery charging ...

A++
 

The Following 4 Users Say Thank You to colin.stephane For This Useful Post:
Posts: 619 | Thanked: 691 times | Joined on Feb 2010
#608
ironic how colin is now asking ppl to run commands on root to diagnose a problem after vi_* screwed a newb who asked for help for running commands he did not understand on root,

... its not only the newbs who are problematic around here...

ps - thanks colin for trying to geniuely help.
 

The Following 3 Users Say Thank You to Frappacino For This Useful Post:
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#609
Originally Posted by Frappacino View Post
ironic how colin is now asking ppl to run commands on root to diagnose a problem after vi_* screwed a newb who asked for help for running commands he did not understand on root,

... its not only the newbs who are problematic around here...

ps - thanks colin for trying to geniuely help.
Difference between him and me, is I'm trying to not screw the audience with dangerous commands, at least I'll do my best ...



A++
 

The Following 4 Users Say Thank You to colin.stephane For This Useful Post:
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#610
vi_ there's no need to take this personally. One of the newbs who ran your command did say their phone wasn't booting anymore, shortly after you posted the ash compatible version. Depends on how you define screwed, of course. That might not qualify in your book. *Shrug* Point is, there's no need to get emotionally invested in other people referring back to it. It happened, your reputation is thus changed for those who are aware of it. It probably will come up as time goes on.

Meanwhile, why IS the bq27x00_battery module loading by default? Last I checked all the other kernel power versions included it, but didn't load it by default unless you explicitly added it to the /etc/modules file.
 

The Following 3 Users Say Thank You to Mentalist Traceur For This Useful Post:
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 20:31.