From 10e21f7320dfa8fcd471fcd390aef93799bd43b5 Mon Sep 17 00:00:00 2001 From: toutes Date: Wed, 16 Feb 2022 21:32:33 +0800 Subject: [PATCH] modify Syscap SystemCapability.PowerManager. Signed-off-by: toutes --- api/@ohos.batteryinfo.d.ts | 8 ++++---- api/@ohos.brightness.d.ts | 4 ++-- api/@ohos.power.d.ts | 2 +- api/@ohos.runninglock.d.ts | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/api/@ohos.batteryinfo.d.ts b/api/@ohos.batteryinfo.d.ts index 0130092db3..030add126f 100644 --- a/api/@ohos.batteryinfo.d.ts +++ b/api/@ohos.batteryinfo.d.ts @@ -19,7 +19,7 @@ *

Battery information includes the remaining battery power, * voltage, temperature, model, and charger type. * - * @SysCap SystemCapability.PowerMgr.BatteryManager + * @SysCap SystemCapability.PowerManager.BatteryManager * @since 6 */ declare namespace batteryInfo { @@ -74,7 +74,7 @@ declare namespace batteryInfo { /** * Indicates the charger type of a device. * - * @SysCap SystemCapability.PowerMgr.BatteryManager + * @SysCap SystemCapability.PowerManager.BatteryManager * @since 6 */ export enum BatteryPluggedType { @@ -103,7 +103,7 @@ declare namespace batteryInfo { /** * Indicates the battery charging status of a device. * - * @SysCap SystemCapability.PowerMgr.BatteryManager + * @SysCap SystemCapability.PowerManager.BatteryManager * @since 6 */ export enum BatteryChargeState { @@ -132,7 +132,7 @@ declare namespace batteryInfo { /** * Indicates the battery health status of a device. * - * @SysCap SystemCapability.PowerMgr.BatteryManager + * @SysCap SystemCapability.PowerManager.BatteryManager * @since 6 */ export enum BatteryHealthState { diff --git a/api/@ohos.brightness.d.ts b/api/@ohos.brightness.d.ts index 4915187c54..81df9f04b9 100644 --- a/api/@ohos.brightness.d.ts +++ b/api/@ohos.brightness.d.ts @@ -18,7 +18,7 @@ import { AsyncCallback } from './basic'; /** * Provides interfaces to control the power of display. * - * @SysCap SystemCapability.PowerMgr.DisplayManager + * @SysCap SystemCapability.PowerManager.DisplayPowerManager * @since 7 */ declare namespace brightness { @@ -26,7 +26,7 @@ declare namespace brightness { * Sets the screen brightness. * * @param value Brightness value, ranging from 0 to 255. - * @SysCap SystemCapability.PowerMgr.DisplayManager + * @SysCap SystemCapability.PowerManager.DisplayPowerManager * @systemapi * @since 7 */ diff --git a/api/@ohos.power.d.ts b/api/@ohos.power.d.ts index bc0eddb084..583a3f5d52 100644 --- a/api/@ohos.power.d.ts +++ b/api/@ohos.power.d.ts @@ -18,7 +18,7 @@ import {AsyncCallback} from './basic'; /** * Provides interfaces to manage power. * - * @SysCap SystemCapability.PowerMgr.PowerManager + * @SysCap SystemCapability.PowerManager.PowerManager * @since 7 */ declare namespace power { diff --git a/api/@ohos.runninglock.d.ts b/api/@ohos.runninglock.d.ts index 98114d2e97..acd9cfae45 100644 --- a/api/@ohos.runninglock.d.ts +++ b/api/@ohos.runninglock.d.ts @@ -24,7 +24,7 @@ import {AsyncCallback} from './basic.d.ts'; * lock duration times out, the lock is automatically released and the system hibernates if no other {@link * RunningLock} is set. * - * @SysCap SystemCapability.PowerMgr.PowerManager + * @SysCap SystemCapability.PowerManager.PowerManager * @since 7 */ declare namespace runningLock { -- Gitee