From 099bbb06926607bcf99b4ed966fddd245e038658 Mon Sep 17 00:00:00 2001 From: ShiJie Date: Tue, 29 Nov 2022 15:31:24 +0800 Subject: [PATCH] docs: Delete a redundant description Signed-off-by: ShiJie Change-Id: I616e384d0f755aaabde7e70d53cbfb13e4d068bb --- api/@ohos.power.d.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/api/@ohos.power.d.ts b/api/@ohos.power.d.ts index 8dc4551a1b..f040579950 100644 --- a/api/@ohos.power.d.ts +++ b/api/@ohos.power.d.ts @@ -112,9 +112,7 @@ declare namespace power { /** * Obtains the power mode of the current device. For details, see {@link DevicePowerMode}. * - * @permission ohos.permission.POWER_OPTIMIZATION * @returns The power mode {@link DevicePowerMode} of current device . - * @throws {BusinessError} 201 – If the permission is denied. * @throws {BusinessError} 4900101 - If connecting to the service failed. * @since 9 */ -- Gitee