diff --git a/api/@ohos.batteryinfo.d.ts b/api/@ohos.batteryinfo.d.ts index 0130092db3c05510686e40502c003f119eb1fc37..030add126ff837d55424d5656fd933389132bc14 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 4915187c54292b32ed7d459f86205e3495469823..81df9f04b99109ac75484ecd055a53635e934618 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 bc0eddb084742668d99dd980d825e35d7957399d..583a3f5d52e5a82f717236e17f96529633420839 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 98114d2e974acf6a66641927ebf8f708769e142e..acd9cfae45c2961617cc5275eccd48fdf6069a89 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 {