X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fconky.c;h=215e79487833807309e2cdb5c3677853b20d5acc;hb=b951f0f45f60917eea7104e44d0f14c3e0d1f189;hp=e2a9090d2cb659cc92b97c626dba28e1d13674b1;hpb=ce45f5d95053623e829bb86d8bb922be632afc1e;p=monky diff --git a/src/conky.c b/src/conky.c index e2a9090..215e794 100644 --- a/src/conky.c +++ b/src/conky.c @@ -889,6 +889,9 @@ void generate_text_internal(char *p, int p_max_size, OBJ(battery_temp) { get_battery_stuff(p, p_max_size, obj->data.s, BATTERY_TEMP); } + OBJ(battery_rate) { + get_battery_stuff(p, p_max_size, obj->data.s, BATTERY_RATE); + } OBJ(battery_percent) { percent_print(p, p_max_size, get_battery_perct(obj->data.s)); } @@ -3648,6 +3651,7 @@ static void main_loop(void) fd_set fdsr; struct timeval tv; int s; + //should look for /org/freedesktop/Hal/devices/bme com.nokia.bme.signal if (update_heartbeat_min != update_heartbeat_max) { //wait for signal // add a rule for which messages we want to see dbus_bus_add_match(conn,