BMSData

data class BMSData(val bmsIndex: Int, val voltage: Double?, val current: Double?, val remainingCapacity: Int?, val factoryCapacity: Int?, val cycles: Int?, val temperatures: List<Double>?, val cellVoltages: List<Double>?)(source)

Companion model for BMS (Battery Management System) summary data. Provides detailed battery health information beyond what EUCData carries.

Constructors

Link copied to clipboard
constructor(bmsIndex: Int, voltage: Double?, current: Double?, remainingCapacity: Int?, factoryCapacity: Int?, cycles: Int?, temperatures: List<Double>?, cellVoltages: List<Double>?)

Properties

Link copied to clipboard

BMS number (1 or 2 for dual-battery wheels)

Link copied to clipboard

Individual cell voltages in volts

Link copied to clipboard

BMS current in amps (positive = discharge)

Link copied to clipboard
val cycles: Int?

Charge cycle count

Link copied to clipboard

Factory/design capacity in mAh

Link copied to clipboard

Remaining capacity in mAh

Link copied to clipboard

Temperature probe readings in degrees Celsius

Link copied to clipboard

BMS pack voltage in volts