battery#

The V5 Battery is a Lithium Ion battery designed to maximize motor performance. For more information about the V5 Battery, read V5 Battery Overview.

If you’re encountering issues with your V5 Battery, you can use the V5 Battery Medic to assess the health and status of your V5 Battery. Go to Using the V5 Battery Medic for a guide on how to use the V5 Firmware Utility to access the V5 Battery Medic.

capacity()#

The capacity() method reads the remaining capacity of the battery.

Returns: The remaining capacity as percentage.

temperature()#

The temperature(units) method reads the temperature of the battery.

Parameters

Description

units

Optional. A valid TemperatureUnits type or PERCENT. The default is CELSIUS.

Returns: The temperature in supplied units.

voltage()#

The voltage(units) method reads the voltage of the battery.

Parameters

Description

units

Optional. A valid VoltageUnits type or PERCENT. The default is MV.

Returns: The voltage in supplied units.

current()#

The current(units) method reads the current of the battery.

Parameters

Description

units

Optional. AMP is the only current unit type available. The default is mA or milliamp, but it is not available as an enum.

Returns: The current in supplied units.