From dc60f30682841aafc9972bcd7ea1537cec7c0e23 Mon Sep 17 00:00:00 2001 From: yanghang Date: Mon, 3 Jun 2024 11:03:08 +0800 Subject: [PATCH] fix:Blue and yellow inconsistent rectification Signed-off-by: yanghang --- power/v1_2/IPowerInterface.idl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/power/v1_2/IPowerInterface.idl b/power/v1_2/IPowerInterface.idl index fcac13fa..cd773c06 100755 --- a/power/v1_2/IPowerInterface.idl +++ b/power/v1_2/IPowerInterface.idl @@ -219,5 +219,21 @@ interface IPowerInterface { * @since 5.0 */ Hibernate(); + + /** + * @brief Set suspend tag before suspend. + * The special sleep mode supported by the kernel and hardware is triggered by setting a special + * suspend tag and then triggering suspend. If the suspend tag is not set, the standard S3 sleep + * mode is triggered when suspend. + * + * @param tag Suspend tag. + * + * @return Returns HDF_SUCCESS if the operation is successful. + * + * @since 5.0 + * + * @version 1.0 + */ + SetSuspendTag([in] String tag); } /** @} */ -- Gitee