warn on low battery

This commit is contained in:
end-4
2025-05-31 01:38:34 +02:00
parent a3d6f9f07d
commit 42abc57b65
3 changed files with 36 additions and 6 deletions
+1 -1
View File
@@ -241,7 +241,7 @@ Scope {
Layout.alignment: Qt.AlignVCenter
}
Battery {
BatteryIndicator {
visible: (barRoot.useShortenedForm < 2 && UPower.displayDevice.isLaptopBattery)
Layout.alignment: Qt.AlignVCenter
}