|
2012-04-14
, 07:54
|
Posts: 11 |
Thanked: 1 time |
Joined on Feb 2011
@ Belgrade, Serbia
|
#172
|
copy conky.conf to your MyDocs folder (/home/user/MyDocs/)
edit it: replace ${battery_short} with ${execi 10 hal-device bme |awk -F"[. ]" '$5 == "is_charging" {chrg = $7}; $5 == "percentage" {perc = $7} END if (chrg == "false") {print perc "%"} else {print "Chg"}'}
enjoy your decreased battery life and non-updating percentage.
|
2012-04-14
, 07:59
|
Posts: 11 |
Thanked: 1 time |
Joined on Feb 2011
@ Belgrade, Serbia
|
#173
|
|
2012-04-15
, 02:58
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#174
|
The Following 2 Users Say Thank You to Estel For This Useful Post: | ||
|
2012-05-25
, 08:52
|
Posts: 78 |
Thanked: 24 times |
Joined on Feb 2012
@ Moscow
|
#175
|
|
2013-02-21
, 11:40
|
Posts: 445 |
Thanked: 367 times |
Joined on Nov 2010
@ Italy
|
#176
|
<h3 style="font-size: 30px;"> This domain name has expired.</h3>
<h4 style="font-size: 16px;">
In order to restore the domain and continue the service you will need....
|
2013-05-12
, 23:03
|
Posts: 252 |
Thanked: 221 times |
Joined on Jul 2010
|
#177
|
looks like i can't read the temperature on yours, but you're running power kernel? weird. That -1 should only show up when it can't read the /sys/class/power_supply/bq27200-0/uevent stuff
|
2013-06-06
, 23:59
|
Posts: 252 |
Thanked: 221 times |
Joined on Jul 2010
|
#178
|
awk 'BEGIN { FS="=" } /POWER_SUPPLY_TEMP/ { print $2/10 "°C"; if ($2 < 350) exit 0; else if ($2 <400) exit 1; else exit 2 }' /sys/class/power_supply/rx51-battery/uevent
|
2013-06-07
, 01:11
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#179
|
I can read the uevent file. But since /bq27200-0/ is hardcoded (see first post), what can one do to get conky to read from rx51-battery?
|
2013-06-07
, 02:54
|
Posts: 252 |
Thanked: 221 times |
Joined on Jul 2010
|
#180
|
changing it in Conky sourcecode and pushing updated version. It should be trivial to do, I might take look on it when I have free time (which most likely mean I won't look at it 'till I die of old age, sadly. so, feel free to implement my theorizations in practice ).
/Estel
if you can't find the answer we are happy to help, but it's a pretty common problem. try searching with google if the forum search isn't helping.