class BaseStationBatteryState
class BaseStationBatteryState
Package: dji.common.basestation
Description:
RTK Base Station Current Battery State.
Class Members:
method getVoltage
Package: dji.common.basestation
Description:
Returns the current RTK base station battery voltage (mV).
Return:
int An int value of the current RTK base station battery voltage.
method getCurrent
Package: dji.common.basestation
Description:
Returns the real time current draw of the RTK base station battery (mA).
Return:
int An int value of the current draw of the RTK base station battery.
method getTemperature
Package: dji.common.basestation
Description:
Returns the current RTK base station battery's temperature, in Celsius, with range [-128, 127] degrees.
Return:
float A float value of the current RTK base station battery's temperature.
method 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:
int An int value of the battery's remaining lifetime as a percentage.