|
| static constexpr uint16_t | fullLevel = 9900 |
| | Battery level (percent * 100) from which the battery is considered full.
|
| |
|
static constexpr uint16_t | rechargeLevel = 9500 |
| | Once full, the charge restarts below this battery level (percent * 100)
|
| |
|
static constexpr uint32_t | endOfChargeDeglitch_ms = 5000 |
| | The end of charge condition must stay true for this time before the charge is considered done.
|
| |
|
static constexpr uint16_t | cellOverVoltageMargin_mV = 10 |
| | Accepted cell voltage above the safe maximum (cell imbalance, measure noise)
|
| |
|
static constexpr uint16_t | cellOverVoltage_mV = physical_constants::maxSafeLiionVoltage_mV + cellOverVoltageMargin_mV |
| | A cell over this voltage stops the charge immediately.
|
| |
| static constexpr uint16_t | packOverVoltage_mV |
| | A pack over this voltage stops the charge immediately.
|
| |
|
static constexpr uint16_t | cellResumeVoltage_mV = physical_constants::maxSafeLiionVoltage_mV - 20 |
| | After an over voltage, the charge can restart when all cells are below this voltage.
|
| |
|
static constexpr uint32_t | overVoltagePause_ms = 20000 |
| | After an over voltage, the charge stays stopped at least this long (lets the balancer work)
|
| |
Charge stop rules, from a snapshot of the battery measurements.