diff --git a/en/application-dev/reference/apis/js-apis-system-battery.md b/en/application-dev/reference/apis/js-apis-system-battery.md index 8eef0562cdedb91214d4eb9e688445eb6d8ff9b8..ec63058c998fcbaeb278a7a7c3ef7fcbc4620f2d 100644 --- a/en/application-dev/reference/apis/js-apis-system-battery.md +++ b/en/application-dev/reference/apis/js-apis-system-battery.md @@ -21,7 +21,7 @@ getStatus(options?: GetStatusOptions): void; Obtains the current charging state and battery level. -**System capability**: SystemCapability.PowerManager.BatteryManager.Core +**System capability**: SystemCapability.PowerManager.BatteryManager.Lite **Parameters** @@ -46,7 +46,7 @@ battery.getStatus({ Object that contains the API calling result. -**System capability**: SystemCapability.PowerManager.BatteryManager.Core +**System capability**: SystemCapability.PowerManager.BatteryManager.Lite | Name | Type | Mandatory| Description | | -------- | --------------------------------------------------- | ---- | ------------------------------------------------------------ | @@ -58,7 +58,7 @@ Object that contains the API calling result. Defines a response that returns the charging status and remaining power of the device. -**System capability**: SystemCapability.PowerManager.BatteryManager.Core +**System capability**: SystemCapability.PowerManager.BatteryManager.Lite | Name| Type| Readable| Writable| Description| | -------- | -------- | -------- | -------- | -------- | diff --git a/en/application-dev/reference/apis/js-apis-system-brightness.md b/en/application-dev/reference/apis/js-apis-system-brightness.md index 01a1defec2d87411735e0ffcf30b08beb93faccf..55b0bdee44b6f421863162c3d078bd092fcfb95a 100644 --- a/en/application-dev/reference/apis/js-apis-system-brightness.md +++ b/en/application-dev/reference/apis/js-apis-system-brightness.md @@ -22,7 +22,7 @@ getValue(options?: GetBrightnessOptions): void Obtains the current screen brightness. -**System capability**: SystemCapability.PowerManager.DisplayPowerManager +**System capability**: SystemCapability.PowerManager.DisplayPowerManager.Lite **Parameters** @@ -50,7 +50,7 @@ setValue(options?: SetBrightnessOptions): void Sets the screen brightness. -**System capability**: SystemCapability.PowerManager.DisplayPowerManager +**System capability**: SystemCapability.PowerManager.DisplayPowerManager.Lite **Parameters** @@ -79,7 +79,7 @@ getMode(options?: GetBrightnessModeOptions): void Obtains the screen brightness adjustment mode. -**System capability**: SystemCapability.PowerManager.DisplayPowerManager +**System capability**: SystemCapability.PowerManager.DisplayPowerManager.Lite **Parameters** @@ -107,7 +107,7 @@ setMode(options?: SetBrightnessModeOptions): void Sets the screen brightness adjustment mode. -**System capability**: SystemCapability.PowerManager.DisplayPowerManager +**System capability**: SystemCapability.PowerManager.DisplayPowerManager.Lite **Parameters** | Name| Type| Mandatory| Description| @@ -137,7 +137,7 @@ setKeepScreenOn(options?: SetKeepScreenOnOptions): void Sets whether to always keep the screen on. Call this API in **onShow()**. -**System capability**: SystemCapability.PowerManager.DisplayPowerManager +**System capability**: SystemCapability.PowerManager.DisplayPowerManager.Lite **Parameters** @@ -162,7 +162,7 @@ Sets whether to always keep the screen on. Call this API in **onShow()**. Defines the options for obtaining the screen brightness. -**System capability**: SystemCapability.PowerManager.DisplayPowerManager +**System capability**: SystemCapability.PowerManager.DisplayPowerManager.Lite | Name | Type | Mandatory| Description | | -------- | --------------------------------------------------------- | ---- | ------------------------------------------------------------ | @@ -174,7 +174,7 @@ Defines the options for obtaining the screen brightness. Defines the options for setting the screen brightness. -**System capability**: SystemCapability.PowerManager.DisplayPowerManager +**System capability**: SystemCapability.PowerManager.DisplayPowerManager.Lite | Name | Type | Mandatory| Description | | -------- | ------------------------------------ | ---- | ------------------------------------------------------------ | @@ -187,7 +187,7 @@ Defines the options for setting the screen brightness. Defines a response that returns the screen brightness. -**System capability**: SystemCapability.PowerManager.DisplayPowerManager +**System capability**: SystemCapability.PowerManager.DisplayPowerManager.Lite | Name| Type| Readable| Writable| Description| | -------- | -------- | -------- | -------- | -------- | @@ -197,7 +197,7 @@ Defines a response that returns the screen brightness. Defines the options for obtaining the screen brightness mode. -**System capability**: SystemCapability.PowerManager.DisplayPowerManager +**System capability**: SystemCapability.PowerManager.DisplayPowerManager.Lite | Name | Type | Mandatory| Description | | -------- | ------------------------------------------------------------ | ---- | ------------------------------------------------------------ | @@ -209,7 +209,7 @@ Defines the options for obtaining the screen brightness mode. Defines the options for setting the screen brightness mode. -**System capability**: SystemCapability.PowerManager.DisplayPowerManager +**System capability**: SystemCapability.PowerManager.DisplayPowerManager.Lite | Name | Type | Mandatory| Description | | -------- | ------------------------------------ | ---- | ------------------------------------------------------ | @@ -222,7 +222,7 @@ Defines the options for setting the screen brightness mode. Defines a response that returns the screen brightness mode. -**System capability**: SystemCapability.PowerManager.DisplayPowerManager +**System capability**: SystemCapability.PowerManager.DisplayPowerManager.Lite | Name| Type| Readable| Writable| Description| | -------- | -------- | -------- | -------- | -------- | @@ -232,7 +232,7 @@ Defines a response that returns the screen brightness mode. Defines the options for setting the screen to be steady on. -**System capability**: SystemCapability.PowerManager.DisplayPowerManager +**System capability**: SystemCapability.PowerManager.DisplayPowerManager.Lite | Name | Type | Mandatory| Description | | ------------ | ------------------------------------ | ---- | ------------------------------------------------------ | diff --git a/en/application-dev/reference/syscap-list.md b/en/application-dev/reference/syscap-list.md index f550259f41ac46bd6841083f87c412ba4e6c9a0f..bf294b95d9b536f5a71c41618896c26b893ab2fe 100644 --- a/en/application-dev/reference/syscap-list.md +++ b/en/application-dev/reference/syscap-list.md @@ -359,6 +359,14 @@ Power management display | ------- | ------ | ------ | ---- | ---- | ------ | ------------ | ------ | | Yes | No | Yes | Yes | No | Yes | No | No | +## SystemCapability.PowerManager.DisplayPowerManager.Lite + +Lite device capabilities of the system power management display + +| Default | Sports Watch| Smart Watch| Tablet| Head Unit| Smart TV| Smart Vision | Router | +| ------- | ------ | ------ | ---- | ---- | ------ | ------------ | ------ | +| Yes | Yes | Yes | Yes | No | Yes | No | No | + ## SystemCapability.PowerManager.ThermalManager Temperature control diff --git a/zh-cn/application-dev/reference/apis/js-apis-system-battery.md b/zh-cn/application-dev/reference/apis/js-apis-system-battery.md index a14490915d767c615d8221fdce9df6d99f35a196..73ea1bcd742e74becc93e926b300cc28ceb172ec 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-system-battery.md +++ b/zh-cn/application-dev/reference/apis/js-apis-system-battery.md @@ -21,7 +21,7 @@ getStatus(options?: GetStatusOptions): void; 获取设备当前的充电状态及剩余电量。 -**系统能力:** SystemCapability.PowerManager.BatteryManager.Core +**系统能力:** SystemCapability.PowerManager.BatteryManager.Lite **参数:** @@ -46,7 +46,7 @@ battery.getStatus({ 包含接口调用结果的对象。 -**系统能力:** SystemCapability.PowerManager.BatteryManager.Core +**系统能力:** SystemCapability.PowerManager.BatteryManager.Lite | 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------------------------------------- | ---- | ------------------------------------------------------------ | @@ -58,7 +58,7 @@ battery.getStatus({ 包含充电状态及剩余电量的对象。 -**系统能力:** SystemCapability.PowerManager.BatteryManager.Core +**系统能力:** SystemCapability.PowerManager.BatteryManager.Lite | 参数名 | 类型 | 可读 | 可写 | 说明 | | -------- | -------- | -------- | -------- | -------- | diff --git a/zh-cn/application-dev/reference/apis/js-apis-system-brightness.md b/zh-cn/application-dev/reference/apis/js-apis-system-brightness.md index 9097f8f38dd76cf4f29fa1edcad22c58462a1830..107005a04cff5e4087dbb1f2197d1bae7dc99655 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-system-brightness.md +++ b/zh-cn/application-dev/reference/apis/js-apis-system-brightness.md @@ -22,7 +22,7 @@ getValue(options?: GetBrightnessOptions): void 获得设备当前的屏幕亮度值。 -**系统能力:** SystemCapability.PowerManager.DisplayPowerManager +**系统能力:** SystemCapability.PowerManager.DisplayPowerManager.Lite **参数:** @@ -50,7 +50,7 @@ setValue(options?: SetBrightnessOptions): void 设置设备当前的屏幕亮度值。 -**系统能力:** SystemCapability.PowerManager.DisplayPowerManager +**系统能力:** SystemCapability.PowerManager.DisplayPowerManager.Lite **参数:** @@ -79,7 +79,7 @@ getMode(options?: GetBrightnessModeOptions): void 获得当前屏幕亮度模式。 -**系统能力:** SystemCapability.PowerManager.DisplayPowerManager +**系统能力:** SystemCapability.PowerManager.DisplayPowerManager.Lite **参数:** @@ -107,7 +107,7 @@ setMode(options?: SetBrightnessModeOptions): void 设置设备当前的屏幕亮度模式。 -**系统能力:** SystemCapability.PowerManager.DisplayPowerManager +**系统能力:** SystemCapability.PowerManager.DisplayPowerManager.Lite **参数:** | 参数名 | 类型 | 必填 | 说明 | @@ -137,7 +137,7 @@ setKeepScreenOn(options?: SetKeepScreenOnOptions): void 设置屏幕是否保持常亮状态,开启常亮模式推荐在onShow()阶段调用。 -**系统能力:** SystemCapability.PowerManager.DisplayPowerManager +**系统能力:** SystemCapability.PowerManager.DisplayPowerManager.Lite **参数:** @@ -162,7 +162,7 @@ setKeepScreenOn(options?: SetKeepScreenOnOptions): void 获取屏幕亮度的参数对象。 -**系统能力:** SystemCapability.PowerManager.DisplayPowerManager +**系统能力:** SystemCapability.PowerManager.DisplayPowerManager.Lite | 名称 | 类型 | 必填 | 说明 | | -------- | --------------------------------------------------------- | ---- | ------------------------------------------------------------ | @@ -174,7 +174,7 @@ setKeepScreenOn(options?: SetKeepScreenOnOptions): void 设置屏幕亮度的参数对象。 -**系统能力:** SystemCapability.PowerManager.DisplayPowerManager +**系统能力:** SystemCapability.PowerManager.DisplayPowerManager.Lite | 名称 | 类型 | 必填 | 说明 | | -------- | ------------------------------------ | ---- | ------------------------------------------------------------ | @@ -187,7 +187,7 @@ setKeepScreenOn(options?: SetKeepScreenOnOptions): void 包含屏幕亮度的对象。 -**系统能力:** SystemCapability.PowerManager.DisplayPowerManager +**系统能力:** SystemCapability.PowerManager.DisplayPowerManager.Lite | 名称 | 类型 | 可读 | 可写 | 说明 | | -------- | -------- | -------- | -------- | -------- | @@ -197,7 +197,7 @@ setKeepScreenOn(options?: SetKeepScreenOnOptions): void 获取屏幕亮度模式的参数对象。 -**系统能力:** SystemCapability.PowerManager.DisplayPowerManager +**系统能力:** SystemCapability.PowerManager.DisplayPowerManager.Lite | 名称 | 类型 | 必填 | 说明 | | -------- | ------------------------------------------------------------ | ---- | ------------------------------------------------------------ | @@ -209,7 +209,7 @@ setKeepScreenOn(options?: SetKeepScreenOnOptions): void 设置屏幕亮度模式的参数对象。 -**系统能力:** SystemCapability.PowerManager.DisplayPowerManager +**系统能力:** SystemCapability.PowerManager.DisplayPowerManager.Lite | 名称 | 类型 | 必填 | 说明 | | -------- | ------------------------------------ | ---- | ------------------------------------------------------ | @@ -222,7 +222,7 @@ setKeepScreenOn(options?: SetKeepScreenOnOptions): void 包含屏幕亮度模式的对象。 -**系统能力:** SystemCapability.PowerManager.DisplayPowerManager +**系统能力:** SystemCapability.PowerManager.DisplayPowerManager.Lite | 名称 | 类型 | 可读 | 可写 | 说明 | | -------- | -------- | -------- | -------- | -------- | @@ -232,7 +232,7 @@ setKeepScreenOn(options?: SetKeepScreenOnOptions): void 设置屏幕常亮的参数对象。 -**系统能力:** SystemCapability.PowerManager.DisplayPowerManager +**系统能力:** SystemCapability.PowerManager.DisplayPowerManager.Lite | 名称 | 类型 | 必填 | 说明 | | ------------ | ------------------------------------ | ---- | ------------------------------------------------------ | diff --git a/zh-cn/application-dev/reference/syscap-list.md b/zh-cn/application-dev/reference/syscap-list.md index d5204e3a4e1c7e93fc567ea7637e7aabc4955248..77de77dc3288ff0b9de32b28855b84cf83b99ac4 100644 --- a/zh-cn/application-dev/reference/syscap-list.md +++ b/zh-cn/application-dev/reference/syscap-list.md @@ -359,6 +359,14 @@ GNSS硬件相关能力 | ------- | ------ | ------ | ---- | ---- | ------ | ------------ | ------ | | 是 | 否 | 是 | 是 | 否 | 是 | 否 | 否 | +## SystemCapability.PowerManager.DisplayPowerManager.Lite + +轻设备系统显示能效管理 + +| Default | 运动表 | 智能表 | 平板 | 车机 | 智慧屏 | Smart-Vision | Router | +| ------- | ------ | ------ | ---- | ---- | ------ | ------------ | ------ | +| 是 | 是 | 是 | 是 | 否 | 是 | 否 | 否 | + ## SystemCapability.PowerManager.ThermalManager 温控服务