![]() |
lshal reports battery stats double times?
Is it a bug or a unknown feature of some community ssu or latest v47 kernel, but somehow i can see my battery stats double, example:
lshal | grep perc battery.charge_level.percentage = 60 (0x3c) (int) battery.charge_level.percentage = 38 (0x26) (int) Its nice to have dual stats, but which one is the correct one and which should i trust? |
Re: lshal reports battery stats double times?
I use power kernel v46 and from what I've seen
Code:
battery.charge_level.percentage = 65 (0x3c) (int) - was false |
Re: lshal reports battery stats double times?
there is another battery module loaded with power kernel. just remove it by blacklisting it and reboot. the module name is bq27x00_battery. little googling will show how to blacklist :)
|
Re: lshal reports battery stats double times?
You don't always have to blacklist - only in power47. In power46, if it's being loaded automatically, it's because you loaded it yourself.
|
Re: lshal reports battery stats double times?
Quote:
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 |
Re: lshal reports battery stats double times?
doesn't work
|
All times are GMT. The time now is 19:31. |
vBulletin® Version 3.8.8