get-battery-info.md 753 字节
Newer Older
D
DCloud_LXH 已提交
1 2 3 4
## uni.getBatteryInfo(options) @getbatteryinfo

<!-- UTSAPIJSON.getBatteryInfo.description -->

D
DCloud_LXH 已提交
5 6
<!-- UTSAPIJSON.getBatteryInfo.compatibility -->

D
DCloud_LXH 已提交
7 8 9 10 11 12 13 14 15 16 17 18
<!-- UTSAPIJSON.getBatteryInfo.param -->

<!-- UTSAPIJSON.getBatteryInfo.returnValue -->

<!-- UTSAPIJSON.getBatteryInfo.example -->

<!-- UTSAPIJSON.getBatteryInfo.tutorial -->

## uni.getBatteryInfoSync() @getbatteryinfosync

<!-- UTSAPIJSON.getBatteryInfoSync.description -->

D
DCloud_LXH 已提交
19 20
<!-- UTSAPIJSON.getBatteryInfoSync.compatibility -->

D
DCloud_LXH 已提交
21 22 23 24 25 26 27 28 29 30
<!-- UTSAPIJSON.getBatteryInfoSync.param -->

<!-- UTSAPIJSON.getBatteryInfoSync.returnValue -->

<!-- UTSAPIJSON.getBatteryInfoSync.example -->

<!-- UTSAPIJSON.getBatteryInfoSync.tutorial -->

<!-- UTSAPIJSON.general_type.name -->

D
DCloud_LXH 已提交
31
<!-- UTSAPIJSON.general_type.param -->