From a5888469884cc5c41f5ad47cd0b0ef251f88fa3f Mon Sep 17 00:00:00 2001 From: qiuxiangdong Date: Tue, 26 Apr 2022 14:33:49 +0800 Subject: [PATCH] fix: The corresponding for js to napi Signed-off-by: qiuxiangdong --- api/@ohos.power.d.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/api/@ohos.power.d.ts b/api/@ohos.power.d.ts index 205fc62ac3..40a4bf2999 100644 --- a/api/@ohos.power.d.ts +++ b/api/@ohos.power.d.ts @@ -99,21 +99,21 @@ declare namespace power { * @since 9 */ export enum DevicePowerMode { - /** - * Performance power mode - * @since 9 - */ - MODE_PERFORMANCE, /** * Normal power mode * @since 9 */ - MODE_NORMAL, + MODE_NORMAL = 600, /** * Power save mode * @since 9 */ MODE_POWER_SAVE, + /** + * Performance power mode + * @since 9 + */ + MODE_PERFORMANCE, /** * Extreme power save mode * @since 9 -- Gitee