overlay: add battery level

This commit is contained in:
end-4
2025-11-09 11:12:18 +01:00
parent 53768a6885
commit f2462eb1b4
4 changed files with 42 additions and 5 deletions
@@ -178,7 +178,7 @@ Item { // Bar content region
}
BatteryIndicator {
visible: (root.useShortenedForm < 2 && UPower.displayDevice.isLaptopBattery)
visible: (root.useShortenedForm < 2 && Battery.available)
Layout.alignment: Qt.AlignVCenter
}
}