1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-10 15:32:52 -05: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

@@ -7,6 +7,8 @@ Rectangle {
property bool batteryPopupVisible: false
signal toggleBatteryPopup()
width: 70 // Increased width to accommodate percentage text
height: 30
radius: Theme.cornerRadius
@@ -63,7 +65,7 @@ Rectangle {
cursorShape: Qt.PointingHandCursor
onClicked: {
batteryPopupVisible = !batteryPopupVisible
toggleBatteryPopup()
}
}