From a22d5e518a2b5a15355f23c9262ff1f80e41601b Mon Sep 17 00:00:00 2001 From: Turann_ Date: Tue, 3 Feb 2026 00:20:12 +0300 Subject: [PATCH] Update path --- Services/Hardware/BatteryService.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Services/Hardware/BatteryService.qml b/Services/Hardware/BatteryService.qml index 1595c8fcc..87425c877 100644 --- a/Services/Hardware/BatteryService.qml +++ b/Services/Hardware/BatteryService.qml @@ -18,8 +18,8 @@ Singleton { readonly property bool batteryPluggedIn: isPluggedIn(primaryDevice) readonly property bool batteryReady: isDeviceReady(primaryDevice) readonly property bool batteryPresent: isDevicePresent(primaryDevice) - readonly property real warningThreshold: Settings.data.systemMonitor.batteryWarningThreshold - readonly property real criticalThreshold: Settings.data.systemMonitor.batteryCriticalThreshold + readonly property real warningThreshold: Settings.data.notifications.batteryWarningThreshold + readonly property real criticalThreshold: Settings.data.notifications.batteryCriticalThreshold readonly property string batteryIcon: getIcon(batteryPercentage, batteryCharging, batteryPluggedIn, batteryReady) readonly property var laptopBatteries: UPower.devices.values.filter(d => d.isLaptopBattery).sort((x, y) => { // Force DisplayDevice to the top