1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-12 16:52:10 -04:00

battery: use native UPower service

This commit is contained in:
bbedward
2025-07-15 15:57:12 -04:00
parent b10488c505
commit 90999e8ac1
4 changed files with 111 additions and 202 deletions

View File

@@ -315,6 +315,10 @@ PanelWindow {
// Battery Widget
BatteryWidget {
anchors.verticalCenter: parent.verticalCenter
batteryPopupVisible: topBar.shellRoot.batteryPopupVisible
onToggleBatteryPopup: {
topBar.shellRoot.batteryPopupVisible = !topBar.shellRoot.batteryPopupVisible
}
}
ControlCenterButton {