## uni.getBatteryInfo(options) @getbatteryinfo

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

<!-- UTSAPIJSON.getBatteryInfo.param -->

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

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

<!-- UTSAPIJSON.getBatteryInfo.compatibility -->

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

## uni.getBatteryInfoSync() @getbatteryinfosync

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

<!-- UTSAPIJSON.getBatteryInfoSync.param -->

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

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

<!-- UTSAPIJSON.getBatteryInfoSync.compatibility -->

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

<!-- UTSAPIJSON.get-battery-info.example -->

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

<!-- UTSAPIJSON.general_type.param -->