From 95b2daac6cd4867ead5fb84defa6673410421039 Mon Sep 17 00:00:00 2001 From: Ojas Kavathe Date: Wed, 27 Nov 2024 15:24:57 +0530 Subject: bluetooth: percentage notify on change --- lib/bluetooth/bluetooth.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/bluetooth/bluetooth.vala') diff --git a/lib/bluetooth/bluetooth.vala b/lib/bluetooth/bluetooth.vala index 68431e5..02005c3 100644 --- a/lib/bluetooth/bluetooth.vala +++ b/lib/bluetooth/bluetooth.vala @@ -170,7 +170,7 @@ public class AstalBluetooth.Bluetooth : Object { var battery = new Battery((IBattery)iface); var device = _devices.lookup(iface.g_object_path); if (device != null) { - device.battery = battery; + device.set_battery(battery); } sync(); } -- cgit v1.2.3