【Introduction】
- This article will concludes an user manual for BatteryKey. It provides a set of methods to manage aircraft battery information and the real-time status. Obtain the information and real-time status of the corresponding battery by setting componentIndex. 0 means battery 1(left) in the DJI Pilot 2, 1 means battery 2(right) in the DJI Pilot 2.
【Basic Information】
- You can use KeyConnection to know if the battery on the aircraft is connected.
- You can use KeyChargeRemaining to know the remaining battery capacity and KeyChargeRemainingInPercent for the percentage of remaining battery power. You can use KeyFullChargeCapacity to get the battery capacity when the battery is fully charged. As the battery is continuously used, the capacity of the battery when fully charged will decrease over time.
- You can use KeyBatteryTemperature to get the battery temperature.
- You can use KeyVoltage to know the battery voltage and KeyCurrent to know the battery current.
- You can use KeyNumberOfDischarges to know the total number of discharges that a battery has experienced during its lifetime.
- You can use KeyNumberOfCells to know the number of cells contained in the battery. You can use KeyCellVoltages to get the voltage of each cell contained in the battery.
- You can use KeyBatteryManufacturedDate to get the production date of battery.
- You can use KeySerialNumber to get the serial number of battery and KeyFirmwareVersion to get the firmware version of battery.
【Basic configuration】
- You can use KeyBatterySelfDischargeInDays to set and get the battery self-discharge days. When the number of days of placing the battery for a long time exceeds the number of self-discharge days, the battery will automatically discharge to the safely placing power.
Comments
0 comments
Please sign in to leave a comment.