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));
}
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,