From 5342d62ca578bbe9ca6436c3a03521257c6d3670 Mon Sep 17 00:00:00 2001 From: hujun211 Date: Tue, 15 Feb 2022 00:24:00 -0800 Subject: [PATCH] fix JS api note Signed-off-by: hujun211 --- api/@ohos.batteryinfo.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/@ohos.batteryinfo.d.ts b/api/@ohos.batteryinfo.d.ts index 19689de4aa..2fd0e32c79 100644 --- a/api/@ohos.batteryinfo.d.ts +++ b/api/@ohos.batteryinfo.d.ts @@ -30,7 +30,7 @@ declare namespace batteryInfo { const batterySOC: number; /** - * Battery charging status of the current device. + * Battery charging status of the current device, in percent. * @since 6 */ const chargingStatus: BatteryChargeState; @@ -48,7 +48,7 @@ declare namespace batteryInfo { const pluggedType: BatteryPluggedType; /** - * Battery voltage of the current device. + * Battery voltage of the current device, in µV. * @since 6 */ const voltage: number; @@ -60,7 +60,7 @@ declare namespace batteryInfo { const technology: string; /** - * Battery temperature of the current device. + * Battery temperature of the current device, in 0.1℃. * @since 6 */ const batteryTemperature: number; -- Gitee