From ed76cfcafba47a63feae89afb7ccf921c2aa20ae Mon Sep 17 00:00:00 2001 From: toutes Date: Tue, 22 Feb 2022 03:47:31 -0800 Subject: [PATCH] modify Syscap to syscap name 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 030add126f..a139929f6d 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.PowerManager.BatteryManager + * @sysCap SystemCapability.PowerManager.BatteryManage.Core * @since 6 */ declare namespace batteryInfo { @@ -74,7 +74,7 @@ declare namespace batteryInfo { /** * Indicates the charger type of a device. * - * @SysCap SystemCapability.PowerManager.BatteryManager + * @sysCap SystemCapability.PowerManager.BatteryManage.Core * @since 6 */ export enum BatteryPluggedType { @@ -103,7 +103,7 @@ declare namespace batteryInfo { /** * Indicates the battery charging status of a device. * - * @SysCap SystemCapability.PowerManager.BatteryManager + * @sysCap SystemCapability.PowerManager.BatteryManage.Core * @since 6 */ export enum BatteryChargeState { @@ -132,7 +132,7 @@ declare namespace batteryInfo { /** * Indicates the battery health status of a device. * - * @SysCap SystemCapability.PowerManager.BatteryManager + * @sysCap SystemCapability.PowerManager.BatteryManage.Core * @since 6 */ export enum BatteryHealthState { diff --git a/api/@ohos.brightness.d.ts b/api/@ohos.brightness.d.ts index 81df9f04b9..f12bc7a706 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.PowerManager.DisplayPowerManager + * @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.PowerManager.DisplayPowerManager + * @sysCap SystemCapability.PowerManager.DisplayPowerManager * @systemapi * @since 7 */ diff --git a/api/@ohos.power.d.ts b/api/@ohos.power.d.ts index 583a3f5d52..90da7f5099 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.PowerManager.PowerManager + * @sysCap SystemCapability.PowerManager.PowerManager.Core * @since 7 */ declare namespace power { diff --git a/api/@ohos.runninglock.d.ts b/api/@ohos.runninglock.d.ts index acd9cfae45..ea56c90fc7 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.PowerManager.PowerManager + * @sysCap SystemCapability.PowerManager.PowerManager.Core * @since 7 */ declare namespace runningLock { -- Gitee