DJI Mobile SDK Documentation

      class DJIBatteryOverview

      @interface DJIBatteryOverview : NSObject
      Header:DJIBatteryState.h
      Inherits From:NSObject
      Description:

      Provides an overview of a battery when aircraft is using multiple batteries.

      Class Members:

      Battery Properties

      General
      property
      property index
      @property(nonatomic, readonly) NSUInteger index
      Header:DJIBatteryState.h
      Description:

      Index of the battery. Index starts from 0. For Matrice 600, the number 1 battery compartment relates to index 0.

      property
      property isConnected
      @property(nonatomic, readonly) BOOL isConnected
      Header:DJIBatteryState.h
      Description:

      YES if the battery is currently connected to the aircraft.

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

      The remaining percentage energy of the battery with range [0, 100].