Browse Source

battery: log message with info

bboozzoo/device-cache
Maciek Borzecki 10 years ago
parent
commit
e30585f981
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/battery.vala

+ 2
- 2
src/battery.vala View File

@ -51,7 +51,7 @@ class BatteryHandler : Object, PacketHandlerInterface {
int64 level = pkt.body.get_int_member("currentCharge");
bool charging = pkt.body.get_boolean_member("isCharging");
info("battery level: %u %s", (uint) level,
(charging == true) ? "charging" : "");
GLib.message("battery level: %u %s", (uint) level,
(charging == true) ? "charging" : "");
}
}

Loading…
Cancel
Save