diff --git a/Services/Hardware/BatteryService.qml b/Services/Hardware/BatteryService.qml index f93428db2..d946398d0 100644 --- a/Services/Hardware/BatteryService.qml +++ b/Services/Hardware/BatteryService.qml @@ -70,7 +70,7 @@ Singleton { return model; } - property var _hasNotified: {} + property var _hasNotified: ({}) function findDevice(nativePath) { if (!nativePath || nativePath === "__default__" || nativePath === "DisplayDevice") {