DJIBatteryOverview
@interface DJIBatteryOverview : NSObject
Provides an overview of a battery - used when multiple batteries are deployed on one product.
-
Index of the battery. Index starts from 0. For Matrice 600, the number 1 battery compartment relates to index 0.
Declaration
Objective-C
@property (readonly, nonatomic) NSUInteger index; -
YESif the battery is currently connected to the aircraft.Declaration
Objective-C
@property (readonly, nonatomic) BOOL isConnected; -
The remaining percentage energy of the battery with range [0,100].
Declaration
Objective-C
@property (readonly, nonatomic) NSInteger energyRemainingPercent;
View on GitHub
DJIBatteryOverview Class Reference