Merge pull request #549 from Sridou/themes

IPC for PowerProfile cycle
This commit is contained in:
Lysec
2025-10-24 23:14:24 +02:00
committed by GitHub
3 changed files with 12 additions and 1 deletions
+6
View File
@@ -221,6 +221,12 @@ Item {
}
}
}
IpcHandler {
target: "powerProfile"
function cycle() {
PowerProfileService.cycleProfile()
}
}
IpcHandler {
target: "media"
+4
View File
@@ -49,6 +49,10 @@ Singleton {
}
}
function init() {
Logger.d("PowerProfileService", "Service started")
}
function setProfile(p) {
if (!available)
return
+2 -1
View File
@@ -91,7 +91,8 @@ ShellRoot {
HooksService.init()
BluetoothService.init()
BatteryService.init()
IdleInhibitorService.init()
IdleInhibitorService.init()
PowerProfileService.init()
}
Background {}