| java.lang.Object | |
| ↳ | dji.common.battery.DJIBatteryOverview | 
Provides an overview of a battery - used when multiple batteries are deployed on one product.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DJIBatteryOverview() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | 
        getEnergyRemainingPercent()
        
         The remaining percentage energy of the battery with range [0,100]. 
  
   | ||||||||||
| int | 
        getIndex()
        
         Index of the battery. 
  
   | ||||||||||
| boolean | 
        isConnected()
        
        true if the battery is currently connected to the aircraft. | ||||||||||
| void | setEnergyRemainingPercent(int energyRemainingPercent) | ||||||||||
| void | setIndex(int index) | ||||||||||
| void | setIsConnected(boolean isConnected) | ||||||||||
| 
  [Expand]
   Inherited Methods  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   
From class
  java.lang.Object
 | |||||||||||
The remaining percentage energy of the battery with range [0,100].
Index of the battery. Index starts from 0. For Matrice 600, the number 1 battery compartment relates to index 0.
true if the battery is currently connected to the aircraft.