![]() |
How to get an ACCURATE battery readout with Desktop Execution Widget?
Is there a way to get an ACCURATE battery readout with Desktop Execution Widget?
|
Re: How to get an ACCURATE battery readout with Desktop Execution Widget?
I use this code for battery percentage
Code:
hal-device bme | awk -F"[. ]" '$5 == "is_charging" {chrg = $7}; $5 == "percentage" {perc = $7} END if (chrg == "false") {print perc "%"} else {print "Chrg"}' |
Re: How to get an ACCURATE battery readout with Desktop Execution Widget?
don't be fooled by the "accurate" numbers. those are only approximations and probably don't help at all.
|
Re: How to get an ACCURATE battery readout with Desktop Execution Widget?
If you want a more accurate readings you really want to load the bq27x00_battery module to get it.
If you see this you are probably bored |
Re: How to get an ACCURATE battery readout with Desktop Execution Widget?
In terminal type lshal|grep bat
I don't know how accurate though. |
Re: How to get an ACCURATE battery readout with Desktop Execution Widget?
or try my QBW widget in my battery thread, it doesn't get more accruate than that
located in Post #3 |
Re: How to get an ACCURATE battery readout with Desktop Execution Widget?
Quote:
how come the percent is in thousand?? |
Re: How to get an ACCURATE battery readout with Desktop Execution Widget?
Same happens to me, because I had two bq27x00_battery modules loaded...
So simply delete the unnecessary entry from /etc/modules and reboot. Code:
leafpad /etc/modules Greetz, ..::J4ZZ::.. |
Re: How to get an ACCURATE battery readout with Desktop Execution Widget?
# /etc/modules: kernel modules to load at boot time.
# # This file contains the names of kernel modules that should # at boot time, one per line. Lines beginning with "#" are i # Parameters can be specified after the module name. bq27x00_battery What should I delete? and after delete, can I read the Temperature?? |
Re: How to get an ACCURATE battery readout with Desktop Execution Widget?
Quote:
or look at JAZZ hehehe, didn't see it at first that he had commented on it |
All times are GMT. The time now is 10:07. |
vBulletin® Version 3.8.8