提交 679abc55 编写于 作者: S shawn_he

update doc

Signed-off-by: Nshawn_he <shawn.he@huawei.com>
上级 5205180c
...@@ -306,4 +306,4 @@ During development, you can refer to the [default battery level configuration](h ...@@ -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`
...@@ -118,4 +118,4 @@ During development, you can refer to the [default charging current and voltage c ...@@ -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`
...@@ -151,4 +151,4 @@ During development, you can refer to the [default charging type configuration](h ...@@ -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`
...@@ -226,4 +226,4 @@ During development, you can refer to the [default battery level and LED color ma ...@@ -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`
...@@ -430,4 +430,4 @@ During development, you can refer to the [default power-off animation configurat ...@@ -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`
...@@ -68,7 +68,7 @@ The following uses [DAYU200](https://gitee.com/openharmony/vendor_hihope/tree/ma ...@@ -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.<br>- Power consumption type: software power consumption<br>- Statistical method: Power consumption = Usage duration x Power consumption benchmark| | cpu_idle | CPU | Double | Baseline power consumption when the CPU is in the idle state.<br>- Power consumption type: software power consumption<br>- 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.<br>- Power consumption type: software power consumption<br>- 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.<br>- Power consumption type: software power consumption<br>- 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.<br>- Power consumption type: software power consumption<br>- 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.<br>- Power consumption type: software power consumption<br>- Statistical method: Power consumption = Usage duration x Power consumption benchmark|
| cpu_clusters<br>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.<br>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**.<br>- Scalability: scalability of CPU clusters<br>- Power consumption type: software power consumption<br>- Statistical method: Power consumption = Usage duration x Power consumption benchmark| | cpu_clusters<br>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.<br>**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**.<br>- Scalability: scalability of CPU clusters<br>- Power consumption type: software power consumption<br>- Statistical method: Power consumption = Usage duration x Power consumption benchmark|
>**NOTE**<br>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). >**NOTE**<br>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 ...@@ -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). 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`
...@@ -172,4 +172,4 @@ During development, you can refer to the [default power temperature protection c ...@@ -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`
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册