From 679abc55b4a6fee0027d8d105fc90f5027ca29bd Mon Sep 17 00:00:00 2001 From: shawn_he Date: Tue, 18 Apr 2023 17:32:57 +0800 Subject: [PATCH] update doc Signed-off-by: shawn_he --- .../subsystems/subsys-power-battery-level-customization.md | 2 +- .../subsystems/subsys-power-charge-current-voltage-limit.md | 2 +- .../subsystems/subsys-power-charge-type-customization.md | 2 +- en/device-dev/subsystems/subsys-power-level-LED-color.md | 2 +- .../subsystems/subsys-power-poweroff-charge-animation.md | 2 +- .../subsys-power-stats-power-average-customization.md | 6 +++--- .../subsystems/subsys-power-temperature-protection.md | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/en/device-dev/subsystems/subsys-power-battery-level-customization.md b/en/device-dev/subsystems/subsys-power-battery-level-customization.md index aa6d2992e0..87c27f37fd 100644 --- a/en/device-dev/subsystems/subsys-power-battery-level-customization.md +++ b/en/device-dev/subsystems/subsys-power-battery-level-customization.md @@ -306,4 +306,4 @@ During development, you can refer to the [default battery level configuration](h } ``` -Packing path: /system/etc/battery +Packing path: `/system/etc/battery` diff --git a/en/device-dev/subsystems/subsys-power-charge-current-voltage-limit.md b/en/device-dev/subsystems/subsys-power-charge-current-voltage-limit.md index 5a137ea638..edca149464 100644 --- a/en/device-dev/subsystems/subsys-power-charge-current-voltage-limit.md +++ b/en/device-dev/subsystems/subsys-power-charge-current-voltage-limit.md @@ -118,4 +118,4 @@ During development, you can refer to the [default charging current and voltage c } ``` -Packing path: /system/etc/battery +Packing path: `/system/etc/battery` diff --git a/en/device-dev/subsystems/subsys-power-charge-type-customization.md b/en/device-dev/subsystems/subsys-power-charge-type-customization.md index 4c7782a136..f617ab0fd7 100644 --- a/en/device-dev/subsystems/subsys-power-charge-type-customization.md +++ b/en/device-dev/subsystems/subsys-power-charge-type-customization.md @@ -151,4 +151,4 @@ During development, you can refer to the [default charging type configuration](h } ``` -Packing path: /system/etc/battery +Packing path: `/system/etc/battery` diff --git a/en/device-dev/subsystems/subsys-power-level-LED-color.md b/en/device-dev/subsystems/subsys-power-level-LED-color.md index 917e1c2ae5..919d10f0e1 100644 --- a/en/device-dev/subsystems/subsys-power-level-LED-color.md +++ b/en/device-dev/subsystems/subsys-power-level-LED-color.md @@ -226,4 +226,4 @@ During development, you can refer to the [default battery level and LED color ma } ``` -Packing path: /system/etc/battery +Packing path: `/system/etc/battery` diff --git a/en/device-dev/subsystems/subsys-power-poweroff-charge-animation.md b/en/device-dev/subsystems/subsys-power-poweroff-charge-animation.md index 3ce81fd3b8..d782f5b121 100644 --- a/en/device-dev/subsystems/subsys-power-poweroff-charge-animation.md +++ b/en/device-dev/subsystems/subsys-power-poweroff-charge-animation.md @@ -430,4 +430,4 @@ During development, you can refer to the [default power-off animation configurat } ``` -Packing path: /system/etc/charger/resource +Packing path: `/system/etc/charger/resource` diff --git a/en/device-dev/subsystems/subsys-power-stats-power-average-customization.md b/en/device-dev/subsystems/subsys-power-stats-power-average-customization.md index c4d072d462..fc649d6b51 100644 --- a/en/device-dev/subsystems/subsys-power-stats-power-average-customization.md +++ b/en/device-dev/subsystems/subsys-power-stats-power-average-customization.md @@ -68,7 +68,7 @@ The following uses [DAYU200](https://gitee.com/openharmony/vendor_hihope/tree/ma | cpu_idle | CPU | Double | Baseline power consumption when the CPU is in the idle state.
- Power consumption type: software power consumption
- Statistical method: Power consumption = Usage duration x Power consumption benchmark| | cpu_suspend | CPU | Double | Baseline power consumption when the CPU is in the sleep state.
- Power consumption type: software power consumption
- Statistical method: Power consumption = Usage duration x Power consumption benchmark| | cpu_active | CPU | Double | Baseline power consumption when the CPU is in the active state.
- Power consumption type: software power consumption
- Statistical method: Power consumption = Usage duration x Power consumption benchmark| - | cpu_clusters
cpu_speed_clusterX | CPU | Double array| cpu\_clusters: baseline power consumption of a CPU cluster. The value is in array format and is used to configure the baseline power consumption for different CPU clusters. The default configuration provides the baseline power consumption for three CPU clusters.
cpu\_speed\_clusterX: baseline power consumption of a CPU cluster at different frequencies, in array format. **X** indicates the sequence number. By default, its value ranges from **0** to **2**, corresponding to the size of the **cpu_clusters** array. For example, if the default size of the **cpu_clusters** array is **3**, the sequence number corresponds to the configuration items **cpu_speed_cluster0**, **cpu_speed_cluster1**, and **cpu_speed_cluster2**.
- Scalability: scalability of CPU clusters
- Power consumption type: software power consumption
- Statistical method: Power consumption = Usage duration x Power consumption benchmark| + | cpu_clusters
cpu_speed_clusterX | CPU | Double array| **cpu\_clusters**: baseline power consumption of a CPU cluster. The value is in array format and is used to configure the baseline power consumption for different CPU clusters. The default configuration provides the baseline power consumption for three CPU clusters.
**cpu\_speed\_clusterX**: baseline power consumption of a CPU cluster at different frequencies, in array format. **X** indicates the sequence number. By default, its value ranges from **0** to **2**, corresponding to the size of the **cpu_clusters** array. For example, if the default size of the **cpu_clusters** array is **3**, the sequence number corresponds to the configuration items **cpu_speed_cluster0**, **cpu_speed_cluster1**, and **cpu_speed_cluster2**.
- Scalability: scalability of CPU clusters
- Power consumption type: software power consumption
- Statistical method: Power consumption = Usage duration x Power consumption benchmark| >**NOTE**
The hardware type described in the table is the actual hardware name and does not represent the power consumption statistics type. For details about the power consumption statistics type, see [ConsumptionType](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-batteryStatistics.md#consumptiontype). @@ -197,6 +197,6 @@ The following uses [DAYU200](https://gitee.com/openharmony/vendor_hihope/tree/ma During development, you can refer to the [default power consumption statistics configuration](https://gitee.com/openharmony/powermgr_battery_statistics/tree/master/services/profile/power_average.json). -Default packing path: /system/etc/profile +Default packing path: `/system/etc/profile` -Customization path: /vendor/etc/profile +Customization path: `/vendor/etc/profile` diff --git a/en/device-dev/subsystems/subsys-power-temperature-protection.md b/en/device-dev/subsystems/subsys-power-temperature-protection.md index aea260b477..0dc460adc3 100644 --- a/en/device-dev/subsystems/subsys-power-temperature-protection.md +++ b/en/device-dev/subsystems/subsys-power-temperature-protection.md @@ -172,4 +172,4 @@ During development, you can refer to the [default power temperature protection c } } ``` -Packing path: /system/etc/battery +Packing path: `/system/etc/battery` -- GitLab