refactor(lockscreen): use centralized BatteryService properties

This commit is contained in:
Turann_
2026-01-26 02:20:38 +03:00
parent 28fa573f70
commit bca1dcba50
+1 -1
View File
@@ -88,7 +88,7 @@ Loader {
property real percent: BatteryService.batteryPercentage
property bool charging: BatteryService.batteryCharging
property bool pluggedIn: BatteryService.batteryPluggedIn
property bool batteryVisible: isReady && percent > 0 && BatteryService.hasAnyBattery()
property bool batteryVisible: isReady && percent >= 0 && BatteryService.hasAnyBattery()
}
Item {