mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-01 01:59:47 +00: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