Skip to content

Commit 42c2bfa

Browse files
authored
RDKEMW-7765: Move PowerManager related APIs to the PowerManager plugin
1 parent 30b4833 commit 42c2bfa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

apis/PowerManager/IPowerManager.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,13 @@ namespace WPEFramework
325325
// @param transactionId: transaction id as received in OnPowerModePreChange
326326
// @param delayPeriod: delay in seconds
327327
virtual Core::hresult DelayPowerModeChangeBy(const uint32_t clientId /* @in */, const int transactionId /* @in */, const int delayPeriod /* @in */) = 0;
328+
329+
/** Checks whether the power state is managed by the device */
330+
// @text getPowerStateIsManagedByDevice
331+
// @brief Checks whether the power state is managed by the device
332+
// @param powerStateManagedByDevice: true if power state is managed by the device, otherwise false
333+
// @param success: success
334+
virtual Core::hresult GetPowerStateIsManagedByDevice(bool &powerStateManagedByDevice /* @out */, bool &success /* @out */) = 0;
328335
};
329336

330337
} // namespace Exchange

0 commit comments

Comments
 (0)