1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 13:32:50 -05:00

osd: try to optimize power profile osd more

This commit is contained in:
bbedward
2025-11-23 17:29:56 -05:00
parent 5ce1cb87ea
commit 2ae911230d
3 changed files with 127 additions and 84 deletions

View File

@@ -558,7 +558,7 @@ Item {
LazyLoader {
id: powerProfileOSDLoader
active: SettingsData.osdPowerProfileEnabled
active: false
Variants {
model: SettingsData.getFilteredScreens("osd")
@@ -569,6 +569,14 @@ Item {
}
}
Connections {
target: BatteryService
function onPowerProfileChanged() {
powerProfileOSDLoader.active = true
}
}
Variants {
model: SettingsData.getFilteredScreens("osd")