From 0ef59442d9401ddfd129422944470e2728ed5186 Mon Sep 17 00:00:00 2001 From: wangwang Date: Thu, 18 May 2023 12:01:06 +0000 Subject: [PATCH] fix: some error did not fix,refix it. Signed-off-by: wangwang --- .../reference/apis/js-apis-batteryStatistics.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 a91de5d9d6..767b6af435 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: ConsumptionType): number +getHardwareUnitPowerValue(type: batteryStats.ConsumptionType): number 根据耗电类型获取硬件单元的耗电量。 @@ -211,7 +211,7 @@ try { ## batteryStats.getHardwareUnitPowerPercent -getHardwareUnitPowerPercent(type: ConsumptionType): number +getHardwareUnitPowerPercent(type: batteryStats.ConsumptionType): number 根据耗电类型获取硬件单元的耗电百分比。 -- GitLab