DJIBatteryWarningInformation

@interface DJIBatteryWarningInformation : NSObject

The DJIBatteryWarningInformation is used to keep a record of any unusual status for the battery in the past 30 discharges. For all the properties below, monitor these values frequently to ensure the battery’s state is normal. If any of the properties below indicate there is an issue with the battery, we reccomend notifying the user.

NOTE: No automatic action will be taken if any of the properties below return YES, which is why it is imperative the user is notified of the issue.

These states are not supported by Osmo.

  • YES if the battery should be discharged due to a current overload.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL currentOverload;
  • YES if the battery has over heated.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL overHeating;
  • YES if the battery has experienced a temperature that is too low.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL lowTemperature;
  • YES if the battery has been or is short circuited.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL shortCircuit;
  • YES if the battery has been configured to be discharged over a specific number of days. Once the battery is fully recharged, the battery will again discharge over the number of days set here. This process is cyclical.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL customDischargeEnabled;
  • Returns the index at which one of the cells in the battery is below the normal voltage. The first cell has an index of 1. The Phantom 3 Series have 4 cell batteries. The Inspire series and M100 have 6 cell batteries.

    Declaration

    Objective-C

    @property (readonly, nonatomic) uint8_t underVoltageBatteryCellIndex;
  • Returns the index at which one of the cells in the battery is damaged. The first cell has an index of 1. The Phantom 3 Series have 4 cell batteries. The Inspire series and M100 have 6 cell batteries.

    Declaration

    Objective-C

    @property (readonly, nonatomic) uint8_t damagedBatteryCellIndex;