DJI Mobile SDK Documentation

      class DJIBatteryAggregationState

      @interface DJIBatteryAggregationState : NSObject
      Header:DJIBatteryState.h
      Inherits From:NSObject
      SDK Key:DJIBatteryKey.DJIBatteryParamAggregationState
      Description:

      Provides a real time summary of the aggregated battery system.

      Class Members:
      Connection
      property
      property numberOfConnectedBatteries
      @property(nonatomic, readonly) NSUInteger numberOfConnectedBatteries
      Header:DJIBatteryState.h
      Description:

      The number of currently connected batteries.

      property batteryOverviews
      @property(nonatomic, readonly) NSArray<DJIBatteryOverview *> *_Nullable batteryOverviews
      Header:DJIBatteryState.h
      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
      Header:DJIBatteryState.h
      Description:

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

      Electrical
      property
      property current
      @property(nonatomic, readonly) NSInteger current
      Header:DJIBatteryState.h
      Description:

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

      property
      property voltage
      @property(nonatomic, readonly) NSInteger voltage
      Header:DJIBatteryState.h
      Description:

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

      property isVoltageDifferenceDetected
      @property(nonatomic, readonly) BOOL isVoltageDifferenceDetected
      Header:DJIBatteryState.h
      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
      Header:DJIBatteryState.h
      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.

      Damage
      property
      property isCellDamaged
      @property(nonatomic, readonly) BOOL isCellDamaged
      Header:DJIBatteryState.h
      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

      Charge
      property
      property fullChargeCapacity
      @property(nonatomic, readonly) NSInteger fullChargeCapacity
      Header:DJIBatteryState.h
      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
      Header:DJIBatteryState.h
      Description:

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

      property chargeRemainingInPercent
      @property(nonatomic, readonly) NSInteger chargeRemainingInPercent
      Header:DJIBatteryState.h
      Description:

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

      Thermal
      property
      property highestTemperature
      @property(nonatomic, readonly) NSInteger highestTemperature
      Header:DJIBatteryState.h
      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
      Header:DJIBatteryState.h
      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.


      General
      class