From c1c99d3d1b483c74addc8652f699e58cfc4ae7d9 Mon Sep 17 00:00:00 2001 From: hujun211 Date: Tue, 15 Feb 2022 18:18:13 -0800 Subject: [PATCH] fix JS api note error Signed-off-by: hujun211 --- api/@ohos.batteryinfo.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@ohos.batteryinfo.d.ts b/api/@ohos.batteryinfo.d.ts index 2fd0e32c79..0130092db3 100644 --- a/api/@ohos.batteryinfo.d.ts +++ b/api/@ohos.batteryinfo.d.ts @@ -24,13 +24,13 @@ */ declare namespace batteryInfo { /** - * Battery state of charge (SoC) of the current device. + * Battery state of charge (SoC) of the current device, in percent. * @since 6 */ const batterySOC: number; /** - * Battery charging status of the current device, in percent. + * Battery charging status of the current device. * @since 6 */ const chargingStatus: BatteryChargeState; -- Gitee