From 82c629278de15a6cf2bdf3a844937028109e77bd Mon Sep 17 00:00:00 2001 From: ItsLemmy Date: Tue, 25 Nov 2025 15:11:57 -0500 Subject: [PATCH] Battery: removed unecessary property --- Modules/Panels/Battery/BatteryPanel.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Modules/Panels/Battery/BatteryPanel.qml b/Modules/Panels/Battery/BatteryPanel.qml index dcac2cbd..74f15517 100644 --- a/Modules/Panels/Battery/BatteryPanel.qml +++ b/Modules/Panels/Battery/BatteryPanel.qml @@ -19,8 +19,7 @@ SmartPanel { readonly property bool isReady: battery && battery.ready && battery.isLaptopBattery && battery.isPresent readonly property int percent: isReady ? Math.round(battery.percentage * 100) : -1 readonly property bool charging: isReady ? battery.state === UPowerDeviceState.Charging : false - readonly property bool healthSupported: isReady && battery.healthSupported - readonly property bool healthAvailable: healthSupported + readonly property bool healthAvailable: isReady && battery.healthSupported readonly property int healthPercent: healthAvailable ? Math.round(battery.healthPercentage) : -1 readonly property bool powerProfileAvailable: PowerProfileService.available readonly property var powerProfiles: [PowerProfile.PowerSaver, PowerProfile.Balanced, PowerProfile.Performance]