From a48e37f3cc4b562535227b603ffa24652622d839 Mon Sep 17 00:00:00 2001 From: zengyawen Date: Tue, 3 Jan 2023 08:20:48 +0000 Subject: [PATCH] =?UTF-8?q?fixed=201dfcbe9=20from=20https://gitee.com/zeng?= =?UTF-8?q?yawen/docs/pulls/13145=20=E6=A0=BC=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zengyawen --- zh-cn/application-dev/reference/apis/js-apis-power.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-power.md b/zh-cn/application-dev/reference/apis/js-apis-power.md index 909943c3cf..beb60a64d9 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-power.md +++ b/zh-cn/application-dev/reference/apis/js-apis-power.md @@ -293,7 +293,7 @@ power.setPowerMode(power.DevicePowerMode.MODE_PERFORMANCE) rebootDevice(reason: string): void -> 从API version 9开始不再维护,建议使用[power.reboot](#powerreboot9)替代。 +> **说明:**
从API version 9开始不再维护,建议使用[power.reboot](#powerreboot9)替代。 重启设备。 @@ -317,7 +317,7 @@ power.rebootDevice('reboot_test'); isScreenOn(callback: AsyncCallback<boolean>): void -> 从API version 9开始不再维护,建议使用[power.isActive](#powerisactive9)替代。 +> **说明:**
从API version 9开始不再维护,建议使用[power.isActive](#powerisactive9)替代。 检测当前设备的亮灭屏状态。使用callback异步回调。 @@ -345,7 +345,7 @@ power.isScreenOn((err, data) => { isScreenOn(): Promise<boolean> -> 从API version 9开始不再维护,建议使用[power.isActive](#powerisactive9)替代。 +> **说明:**
从API version 9开始不再维护,建议使用[power.isActive](#powerisactive9)替代。 检测当前设备的亮灭屏状态。使用Promise异步回调。 -- GitLab