public class

DJIBatteryAggregationState

extends Object
java.lang.Object
   ↳ dji.common.battery.DJIBatteryAggregationState

Class Overview

Provides a real time summary of the aggregated battery system. Only supported by Matrice 600, Matrice 600 Pro and Inspire 2.

Summary

Public Constructors
DJIBatteryAggregationState()
Public Methods
boolean firmwareDifferenceDetected()
true if one of the batteries in the group has a firmware version different from the others.
boolean getBatteryDisconnected()
true if one of the batteries in the group is disconnected.
DJIBatteryOverview[] getBatteryOverviews()
Returns the overview of batteries in the battery group.
int getCurrentCurrent()
Returns the real time current draw through the batteries.
int getCurrentEnergy()
Returns the remaining energy stored in the batteries in mAh (milliamp hours).
int getCurrentVoltage()
Returns the current voltage (mV) provided by the battery group.
int getEnergyRemainingPercent()
Returns the percentage of energy left in the battery group with range [0 - 100].
int getFullChargeEnergy()
Returns the the total amount of energy, in mAh (milliamp hours), stored in the batteries when the batteries are fully charged.
int getHighestBatteryTemperature()
Returns the highest temperature (in Centigrade) among the batteries in the group, with a range [-128 to 127].
boolean getLowCellVoltageDetected()
true if one of the batteries in the group has cells with low voltage.
int getNumberOfConnectedBatteries()
The number of currently connected batteries.
boolean getVoltageDifferenceDetected()
true if there is significant difference between the voltage (above 1.5V) of two batteries.
boolean hasDamagedCell()
true if one of the batteries in the group has damaged cells.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DJIBatteryAggregationState ()

Public Methods

public boolean firmwareDifferenceDetected ()

true if one of the batteries in the group has a firmware version different from the others. When it is true, the aircraft is not allow to take off.

public boolean getBatteryDisconnected ()

true if one of the batteries in the group is disconnected. When it is true, the aircraft is not allowed to take off.

public DJIBatteryOverview[] getBatteryOverviews ()

Returns the overview of batteries in the battery group. When a battery is not connected, the `isConnected` property is `NO` and the `energyRemainingPercent` is zero. For Matrice 600, there are 6 elements in `batteryOverviews`.

public int getCurrentCurrent ()

Returns the real time current draw through the batteries. A negative value means the batteries are being discharged.

public int getCurrentEnergy ()

Returns the remaining energy stored in the batteries in mAh (milliamp hours).

public int getCurrentVoltage ()

Returns the current voltage (mV) provided by the battery group.

public int getEnergyRemainingPercent ()

Returns the percentage of energy left in the battery group with range [0 - 100].

public int getFullChargeEnergy ()

Returns the the total amount of energy, in mAh (milliamp hours), stored in the batteries when the batteries are fully charged.

public int getHighestBatteryTemperature ()

Returns the highest temperature (in Centigrade) among the batteries in the group, with a range [-128 to 127].

public boolean getLowCellVoltageDetected ()

true if one of the batteries in the group has cells with low voltage. When it is true, the aircraft is not allow to take off.

public int getNumberOfConnectedBatteries ()

The number of currently connected batteries.

public boolean getVoltageDifferenceDetected ()

true if there is significant difference between the voltage (above 1.5V) of two batteries. When it is true, the aircraft is not allowed to take off.

public boolean hasDamagedCell ()

true if one of the batteries in the group has damaged cells. When it is true, the aircraft is not allow to take off.