|
#601
|
|||
|
|||
|
Quote:
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"%"}'
Last edited by colin.stephane; 2011-05-17 at 13:49. |
|
#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?
Last edited by Flandry; 2011-05-17 at 14:05. |
|
#603
|
|||
|
|||
|
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 ... |
|
#604
|
||||
|
||||
|
Quote:
__________________
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?
|
| The Following User Says Thank You to Flandry For This Useful Post: | ||
|
#605
|
|||
|
|||
|
Quote:
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++ |
|
#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?
|
|
#607
|
|||
|
|||
|
Quote:
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++ |
|
#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. |
|
#609
|
|||
|
|||
|
Quote:
A++ |
|
#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: | ||
![]() |
| Tags |
| battery-status, bq27x00_battery, kernel, kernel-power, misiak4king, noobs-cant-read, pali4president, patches, readdirections, revolverspinyou |
|
|