summaryrefslogtreecommitdiff
path: root/lib/bluetooth/bluetooth.vala
diff options
context:
space:
mode:
authorOjas Kavathe <[email protected]>2024-11-27 15:24:57 +0530
committerOjas Kavathe <[email protected]>2024-11-27 15:24:57 +0530
commit95b2daac6cd4867ead5fb84defa6673410421039 (patch)
tree60f970015afe9270c983a89e653a630838c27a00 /lib/bluetooth/bluetooth.vala
parent358044bdfd357916bad9ae9298fd89b54291a7a6 (diff)
bluetooth: percentage notify on change
Diffstat (limited to 'lib/bluetooth/bluetooth.vala')
-rw-r--r--lib/bluetooth/bluetooth.vala2
1 files changed, 1 insertions, 1 deletions
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();
}