diff --git a/zh-cn/application-dev/reference/apis/js-apis-batteryStatistics.md b/zh-cn/application-dev/reference/apis/js-apis-batteryStatistics.md index 767b6af435a250637053dc7218bb3426b6b38d50..a91de5d9d68aa7659d7d85f24062f78300449ffc 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-batteryStatistics.md +++ b/zh-cn/application-dev/reference/apis/js-apis-batteryStatistics.md @@ -170,7 +170,7 @@ try { ## batteryStats.getHardwareUnitPowerValue -getHardwareUnitPowerValue(type: batteryStats.ConsumptionType): number +getHardwareUnitPowerValue(type: ConsumptionType): number 根据耗电类型获取硬件单元的耗电量。 @@ -211,7 +211,7 @@ try { ## batteryStats.getHardwareUnitPowerPercent -getHardwareUnitPowerPercent(type: batteryStats.ConsumptionType): number +getHardwareUnitPowerPercent(type: ConsumptionType): number 根据耗电类型获取硬件单元的耗电百分比。