From 6d89f5c27d043475b80a7495c0b69e521e133b5c Mon Sep 17 00:00:00 2001 From: dkumar798 Date: Fri, 12 Sep 2025 12:30:12 +0530 Subject: [PATCH] RDKEMW-7765: Move PowerManager related APIs to the PowerManager plugin --- apis/PowerManager/IPowerManager.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apis/PowerManager/IPowerManager.h b/apis/PowerManager/IPowerManager.h index b617976d..2ac29808 100755 --- a/apis/PowerManager/IPowerManager.h +++ b/apis/PowerManager/IPowerManager.h @@ -325,6 +325,13 @@ namespace WPEFramework // @param transactionId: transaction id as received in OnPowerModePreChange // @param delayPeriod: delay in seconds virtual Core::hresult DelayPowerModeChangeBy(const uint32_t clientId /* @in */, const int transactionId /* @in */, const int delayPeriod /* @in */) = 0; + + /** Checks whether the power state is managed by the device */ + // @text getPowerStateIsManagedByDevice + // @brief Checks whether the power state is managed by the device + // @param powerStateManagedByDevice: true if power state is managed by the device, otherwise false + // @param success: success + virtual Core::hresult GetPowerStateIsManagedByDevice(bool &powerStateManagedByDevice /* @out */, bool &success /* @out */) = 0; }; } // namespace Exchange