Use real soc for time calc
This commit is contained in:
parent
8dbb93fdbb
commit
f14966b34d
|
@ -213,7 +213,7 @@ void OvmsVehicleRenaultZoePh2::IncomingPollReply(canbus* bus, uint16_t type, uin
|
|||
}
|
||||
|
||||
int OvmsVehicleRenaultZoePh2::calcMinutesRemaining(float charge_voltage, float charge_current) {
|
||||
float bat_soc = StandardMetrics.ms_v_bat_soc->AsFloat(100);
|
||||
float bat_soc = mt_bat_lbc_soc->AsFloat(100);
|
||||
|
||||
float remaining_wh = m_battery_capacity * bat_soc / 100.0;
|
||||
float remaining_hours = remaining_wh / (charge_current * charge_voltage);
|
||||
|
|
Loading…
Reference in New Issue