Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions apis/PowerManager/IPowerManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,14 @@ namespace WPEFramework
// @param transactionId: transaction id as received in OnPowerModePreChange
// @param delayPeriod: delay in seconds
virtual Core::hresult DelayPowerModeChangeBy(const uint32_t clientId , const int transactionId , const int delayPeriod ) = 0;

/** Get the Wakeup Time */
// @text getTimeSinceWakeup
// @brief Get the Wakeup Time
// @param secondsSinceWakeup: Wakeup time in seconds
// @retval ErrorCode::ERROR_NONE: Indicates success
// @retval ErrorCode::ERROR_GENERAL: Indicates failure
virtual Core::hresult GetTimeSinceWakeup(uint32_t &secondsSinceWakeup /* @out */) = 0;
};

} // namespace Exchange
Expand Down
Loading
Loading