DJIBatteryAggregationState
@interface DJIBatteryAggregationState : NSObject
Provides a real time summary of the aggregated battery system. Only supported by Matrice 600, Matrice 600 Pro and Inspire 2.
-
The number of currently connected batteries.
Declaration
Objective-C
@property (readonly, nonatomic) NSUInteger numberOfConnectedBatteries;
-
Returns the overview of batteries in the battery group. When a battery is not connected, the
isConnected
property isNO
and theenergyRemainingPercent
is zero. For Matrice 600, there are 6 elements inbatteryOverviews
.Declaration
Objective-C
@property (readonly, nonatomic) NSArray<DJIBatteryOverview *> *_Nullable batteryOverviews;
-
Returns the current voltage (mV) provided by the battery group.
Declaration
Objective-C
@property (readonly, nonatomic) NSInteger currentVoltage;
-
Returns the real time current draw through the batteries. A negative value means the batteries are being discharged.
Declaration
Objective-C
@property (readonly, nonatomic) NSInteger currentCurrent;
-
Returns the the total amount of energy, in mAh (milliamp hours), stored in the batteries when the batteries are fully charged.
Declaration
Objective-C
@property (readonly, nonatomic) NSInteger fullChargeEnergy;
-
Returns the remaining energy stored in the batteries in mAh (milliamp hours).
Declaration
Objective-C
@property (readonly, nonatomic) NSInteger currentEnergy;
-
Returns the percentage of energy left in the battery group with range [0 - 100].
Declaration
Objective-C
@property (readonly, nonatomic) NSInteger energyRemainingPercent;
-
Returns the highest temperature (in Celsius) among the batteries in the group, with a range [-128 to 127].
Declaration
Objective-C
@property (readonly, nonatomic) NSInteger highestBatteryTemperature;
-
YES
if one of the batteries in the group is disconnected. When it isYES
, the aircraft is not allowed to take off.Declaration
Objective-C
@property (readonly, nonatomic) BOOL batteryDisconnected;
-
YES
if there is significant difference between the voltage (above 1.5V) of two batteries. When it isYES
, the aircraft is not allowed to take off.Declaration
Objective-C
@property (readonly, nonatomic) BOOL voltageDifferenceDetected;
-
YES
if one of the batteries in the group has cells with low voltage. When it isYES
, the aircraft is not allow to take off.Declaration
Objective-C
@property (readonly, nonatomic) BOOL lowCellVoltageDetected;
-
YES
if one of the batteries in the group has damaged cells. When it isYES
, the aircraft is not allow to take off.Declaration
Objective-C
@property (readonly, nonatomic) BOOL hasDamagedCell;
-
YES
if one of the batteries in the group has a firmware version different from the others. When it isYES
, the aircraft is not allow to take off.Declaration
Objective-C
@property (readonly, nonatomic) BOOL firmwareDifferenceDetected;