未验证 提交 991c9d4b 编写于 作者: O openharmony_ci 提交者: Gitee

!19765 docs: 资料文档一致性检查扫描问题修改-3.2release

Merge pull request !19765 from wangwang/cherry-pick-1686820838
......@@ -25,7 +25,7 @@ getStatus(options?: GetStatusOptions): void;
**参数:**
| 名称 | 类型 | 必填 | 说明 |
| 参数名 | 类型 | 必填 | 说明 |
| -------- | -------- | -------- | -------- |
| options | [GetStatusOptions](#getstatusoptions) | 否 | 包含接口调用结果的对象。可选,默认为空。 |
......@@ -48,7 +48,7 @@ battery.getStatus({
**系统能力:** SystemCapability.PowerManager.BatteryManager.Core
| 名称 | 类型 | 必填 | 说明 |
| 参数名 | 类型 | 必填 | 说明 |
| -------- | --------------------------------------------------- | ---- | ------------------------------------------------------------ |
| success | (data: [BatteryResponse](#batteryresponse)) => void | 否 | 接口调用成功的回调函数,data为[BatteryResponse](#batteryresponse)类型的返回值。 |
| fail | (data: string, code: number) => void | 否 | 接口调用失败的回调函数。data为错误信息,code为错误码。 |
......@@ -60,7 +60,7 @@ battery.getStatus({
**系统能力:** SystemCapability.PowerManager.BatteryManager.Core
| 名称 | 类型 | 可读 | 可写 | 说明 |
| 参数名 | 类型 | 可读 | 可写 | 说明 |
| -------- | -------- | -------- | -------- | -------- |
| charging | boolean | 是 | 否 | 当前电池是否在充电中。 |
| level | number | 是 | 否 | 当前电池的电量,取值范围:0.00 - 1.00 。 |
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册