From e30585f981cc2437420ca1512f6f68375b1c4dd1 Mon Sep 17 00:00:00 2001 From: Maciek Borzecki Date: Sun, 18 Jan 2015 17:07:29 +0100 Subject: [PATCH] battery: log message with info --- src/battery.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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