提交 eade842c 编写于 作者: Q qiuxiangdong

feat: SystemCapability added Lite support

Signed-off-by: Nqiuxiangdong <qiuxiangdong5@huawei.com>
Change-Id: I3ca2162bb9016616563d370efa44cc9856dd36bd
上级 5139c8c6
......@@ -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|
| -------- | -------- | -------- | -------- | -------- |
......
......@@ -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 |
| ------------ | ------------------------------------ | ---- | ------------------------------------------------------ |
......
......@@ -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
......
......@@ -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
| 参数名 | 类型 | 可读 | 可写 | 说明 |
| -------- | -------- | -------- | -------- | -------- |
......
......@@ -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
| 名称 | 类型 | 必填 | 说明 |
| ------------ | ------------------------------------ | ---- | ------------------------------------------------------ |
......
......@@ -359,6 +359,14 @@ GNSS硬件相关能力
| ------- | ------ | ------ | ---- | ---- | ------ | ------------ | ------ |
| 是 | 否 | 是 | 是 | 否 | 是 | 否 | 否 |
## SystemCapability.PowerManager.DisplayPowerManager.Lite
轻设备系统显示能效管理
| Default | 运动表 | 智能表 | 平板 | 车机 | 智慧屏 | Smart-Vision | Router |
| ------- | ------ | ------ | ---- | ---- | ------ | ------------ | ------ |
| 是 | 是 | 是 | 是 | 否 | 是 | 否 | 否 |
## SystemCapability.PowerManager.ThermalManager
温控服务
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册