DJI Mobile SDK Documentation

      class BaseStationBatteryState

      class BaseStationBatteryState
      Package:dji.common.basestation
      Description:

      RTK Base Station Current Battery State.

      Class Members:
      voltage
      method
      method getVoltage
      int getVoltage()
      Package:dji.common.basestation
      Description:

      Returns the current RTK base station battery voltage (mV).

      Return:
      intAn int value of the current RTK base station battery voltage.
      current
      method
      method getCurrent
      int getCurrent()
      Package:dji.common.basestation
      Description:

      Returns the real time current draw of the RTK base station battery (mA).

      Return:
      intAn int value of the current draw of the RTK base station battery.
      temperature
      method
      method getTemperature
      float getTemperature()
      Package:dji.common.basestation
      Description:

      Returns the current RTK base station battery's temperature, in Celsius, with range [-128, 127] degrees.

      Return:
      floatA float value of the current RTK base station battery's temperature.
      method getCapacityPercent
      int getCapacityPercent()
      Package:dji.common.basestation
      Description:

      Returns the battery's remaining lifetime as a percentage, with range [0, 100]. A new battery will be close to 100%. As a battery experiences charge/discharge cycles, the value will go down.

      Return:
      intAn int value of the battery's remaining lifetime as a percentage.
      State Updates
      class