diff options
author | Ojas Kavathe <[email protected]> | 2024-11-27 15:24:57 +0530 |
---|---|---|
committer | Ojas Kavathe <[email protected]> | 2024-11-27 15:24:57 +0530 |
commit | 95b2daac6cd4867ead5fb84defa6673410421039 (patch) | |
tree | 60f970015afe9270c983a89e653a630838c27a00 /lib/bluetooth/bluetooth.vala | |
parent | 358044bdfd357916bad9ae9298fd89b54291a7a6 (diff) |
bluetooth: percentage notify on change
Diffstat (limited to 'lib/bluetooth/bluetooth.vala')
-rw-r--r-- | lib/bluetooth/bluetooth.vala | 2 |
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(); } |