Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Updated May 23] Conky 1.9.7 n900 edition

    Reply
    Page 18 of 19 | Prev | 8   16     17   18   19   | Next
    Creamy Goodness | # 171 | 2011-11-14, 03:24 | Report

    lol yeah you beat me.
    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    dobrivoje | # 172 | 2012-04-14, 07:54 | Report

    Originally Posted by Creamy Goodness View Post
    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.
    Isn't easier and better to write this line like this :
    ${execi 10 hal-device bme | awk /battery.charge_level.percentage/'{print $3"% "}'} ?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    dobrivoje | # 173 | 2012-04-14, 07:59 | Report

    Originally Posted by Creamy Goodness View Post
    lol yeah you beat me.
    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.
    why don't you just help him out, and copy/paste solution ?!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Estel | # 174 | 2012-04-15, 02:58 | Report

    First of all, You're banging on half-a-year old thread without any reason.

    As for Your question - because we do not like to breed laziness LMGTFY, or what?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to Estel For This Useful Post:
    Creamy Goodness, Sourav.dubey

     
    OMOIKANE | # 175 | 2012-05-25, 08:52 | Report

    Please help me. Conky starts to show -1% battery with bq27x00_battery module loaded. With BME %% showing okay but lower. What can i do?
    Old backup restored by backupmenu but conky still showing -1% battery.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    gianko | # 176 | 2013-02-21, 11:40 | Report

    hello. im using Conky + layout switcher without any problems for a long time, but now after i start any conky layout...a strange green overlayed message appear...that is not clearly readable....but is something like this:

    Originally Posted by
    <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....
    can somebody explain what is the problem and how to solve?

    Thank you

    Edit | Forward | Quote | Quick Reply | Thanks

     
    chill | # 177 | 2013-05-12, 23:03 | Report

    Originally Posted by Creamy Goodness View Post
    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
    Using power kernel v52, I see the uevent stuff is actually in /sys/class/power_supply/rx51-battery/uevent

    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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    chill | # 178 | 2013-06-06, 23:59 | Report

    Nobody? Ok...i've created a Queen Beecon Widget to display the battery temperature. Here's the command line for it:

    Code:
    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
    Note the code will exit 0 if the temperature is less than 35 C, else exit 1 if it's less than 40, else exit 2. This can be used in QBW to select the widget background color, e.g. red when the battery gets hot.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by chill; 2013-06-07 at 00:02.

     
    Estel | # 179 | 2013-06-07, 01:11 | Report

    Originally Posted by chill View Post
    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?
    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    chill | # 180 | 2013-06-07, 02:54 | Report

    Originally Posted by Estel View Post
    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
    Please clarify. Did you change it or are you postponing until old age? What'd you mean by theorizations?

    Also, using USB Mode, after switching to "USB host mode (with boost)", which "stops BME", conky will read display some temperature, which also seems to have tenths of a degree Celsius (unlike in the uevent file); I have not applied any conky update of yours yet. Would you know how/why?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 18 of 19 | Prev | 8   16     17   18   19   | Next
vBulletin® Version 3.8.8
Normal Logout