class DJIBatteryAggregationState
@interface DJIBatteryAggregationState : NSObject
Description:
Provides a real time summary of the aggregated battery system.
Class Members:
property numberOfConnectedBatteries
@property (nonatomic , readonly ) NSUInteger numberOfConnectedBatteries
Description:
The number of currently connected batteries.
property batteryOverviews
@property (nonatomic , readonly ) NSArray <DJIBatteryOverview *> *_Nullable batteryOverviews
Description:
Returns the overview of batteries in the battery group. When a battery is not connected, the isConnected
property is NO
and the chargeRemainingInPercent
is zero. For Matrice 600, there are 6 elements in this array.
See Also:
DJIBatteryOverview
property isAnyBatteryDisconnected
@property (nonatomic , readonly ) BOOL isAnyBatteryDisconnected
Description:
YES
if one of the batteries in the group is disconnected. When YES
, the aircraft is not allowed to take off.
property current
@property (nonatomic , readonly ) NSInteger current
Description:
Returns the real time current draw through the batteries. A negative value means the batteries are being discharged.
property voltage
@property (nonatomic , readonly ) NSInteger voltage
Description:
Returns the current voltage (mV) provided by the battery group.
property isVoltageDifferenceDetected
@property (nonatomic , readonly ) BOOL isVoltageDifferenceDetected
Description:
YES
if there is significant difference between the voltage (above 1.5V) of two batteries. When YES
, the aircraft is not allowed to take off.
property isLowCellVoltageDetected
@property (nonatomic , readonly ) BOOL isLowCellVoltageDetected
Description:
YES
if one of the batteries in the group has cells with low voltage. When YES
, the aircraft is not allowed to take off.
property isCellDamaged
@property (nonatomic , readonly ) BOOL isCellDamaged
Description:
YES
if one of the batteries in the group has damaged cells. When YES
, the aircraft is not allowed to take off.
Battery Aggregation Properties
property fullChargeCapacity
@property (nonatomic , readonly ) NSInteger fullChargeCapacity
Description:
Returns the the total amount of energy, in mAh (milliamp hours), stored in the batteries when the batteries are fully charged.
property chargeRemaining
@property (nonatomic , readonly ) NSInteger chargeRemaining
Description:
Returns the remaining energy stored in the batteries in mAh (milliamp hours).
property chargeRemainingInPercent
@property (nonatomic , readonly ) NSInteger chargeRemainingInPercent
Description:
Returns the percentage of energy left in the battery group with range [0,100].
property highestTemperature
@property (nonatomic , readonly ) NSInteger highestTemperature
Description:
Returns the highest temperature (in Celsius) among the batteries in the group, with range [-128, 127] degrees.
property isFirmwareDifferenceDetected
@property (nonatomic , readonly ) BOOL isFirmwareDifferenceDetected
Description:
YES
if one of the batteries in the group has a firmware version different from the others. When it is YES
, the aircraft is not allowed to take off.