diff --git a/src/battery.vala b/src/battery.vala index e528e5a..14f31de 100644 --- a/src/battery.vala +++ b/src/battery.vala @@ -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" : ""); } } \ No newline at end of file