From 5aad715aced51ded1d3dee709a977c6de1a04d2b Mon Sep 17 00:00:00 2001 From: Sridou Date: Sat, 25 Oct 2025 02:36:32 +0530 Subject: [PATCH] fix: added PowerProfile init --- Services/IPCService.qml | 3 +-- Services/PowerProfileService.qml | 4 ++++ shell.qml | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Services/IPCService.qml b/Services/IPCService.qml index e2e9064c..e3defb20 100644 --- a/Services/IPCService.qml +++ b/Services/IPCService.qml @@ -222,8 +222,7 @@ Item { } } IpcHandler { - target: "PowerProfile" - + target: "powerProfile" function cycle() { PowerProfileService.cycleProfile() } diff --git a/Services/PowerProfileService.qml b/Services/PowerProfileService.qml index 8aa7ac64..55b65932 100644 --- a/Services/PowerProfileService.qml +++ b/Services/PowerProfileService.qml @@ -49,6 +49,10 @@ Singleton { } } + function init() { + Logger.d("PowerProfileService", "Service started") + } + function setProfile(p) { if (!available) return diff --git a/shell.qml b/shell.qml index ffa34b54..1bc65701 100644 --- a/shell.qml +++ b/shell.qml @@ -91,7 +91,8 @@ ShellRoot { HooksService.init() BluetoothService.init() BatteryService.init() - IdleInhibitorService.init() + IdleInhibitorService.init() + PowerProfileService.init() } Background {}