aboutsummaryrefslogtreecommitdiffstats
path: root/batterystate/batterystate.c
diff options
context:
space:
mode:
Diffstat (limited to 'batterystate/batterystate.c')
-rw-r--r--batterystate/batterystate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/batterystate/batterystate.c b/batterystate/batterystate.c
index 63090f37..062cff06 100644
--- a/batterystate/batterystate.c
+++ b/batterystate/batterystate.c
@@ -485,7 +485,7 @@ int batterystate_register(DBusConnection *connection, struct btd_device *device,
servers = g_slist_prepend(servers, batt);
- batt->attioid = btd_device_add_attio_callback(device,
+ batt->attioid = btd_device_add_attio_callback(device, NULL,
attio_connected_cb, attio_disconnected_cb,
batt);