# class BatteryInfo

    class BatteryInfo implements DJIValue, JNIProguardKeepTag, ByteStream

Package: | dji.sdk.keyvalue.value.remotecontroller

##### Description:

This class is used to get the remote controller battery information.

##### Class Members:

method
getEnabled

###### method getEnabled

    Boolean getEnabled()

Package: | dji.sdk.keyvalue.value.remotecontroller

##### Description:

Get if the remote control battery is valid.

##### Return:

Boolean | Return if the remote control battery is valid.

method
getBatteryPower

###### method getBatteryPower

    Integer getBatteryPower()

Package: | dji.sdk.keyvalue.value.remotecontroller

##### Description:

Get the remaining power of the remote controller, unit: mah.

##### Return:

Integer | Return the remaining power of the remote controller, unit: mah.

method
getBatteryPercent

###### method getBatteryPercent

    Integer getBatteryPercent()

Package: | dji.sdk.keyvalue.value.remotecontroller

##### Description:

Get the remaining power percentage of the remote controller.

##### Return:

Integer | Return the remaining power percentage of the remote controller.

×

## Search Mobile SDK Document

{{searchCount}} Results

- ### {{{(item.highlights && item.highlights.title) || item.title}}}

  {{{(item.highlights && item.highlights.content[0]) || item.title}}}

Load More
Loading...
Not Found