mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
fix: added PowerProfile init
This commit is contained in:
@@ -222,8 +222,7 @@ Item {
|
||||
}
|
||||
}
|
||||
IpcHandler {
|
||||
target: "PowerProfile"
|
||||
|
||||
target: "powerProfile"
|
||||
function cycle() {
|
||||
PowerProfileService.cycleProfile()
|
||||
}
|
||||
|
||||
@@ -49,6 +49,10 @@ Singleton {
|
||||
}
|
||||
}
|
||||
|
||||
function init() {
|
||||
Logger.d("PowerProfileService", "Service started")
|
||||
}
|
||||
|
||||
function setProfile(p) {
|
||||
if (!available)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user