diff --git a/core/soc/socestimator.go b/core/soc/socestimator.go index c251f0b4d..5fdd04fec 100644 --- a/core/soc/socestimator.go +++ b/core/soc/socestimator.go @@ -93,6 +93,10 @@ func (s *Estimator) RemainingChargeEnergy(targetSoC int) float64 { func (s *Estimator) SoC(chargedEnergy float64) (float64, error) { f, err := s.vehicle.SoC() if err != nil { + if errors.Is(err, api.ErrMustRetry) { + return 0, err + } + s.log.WARN.Printf("updating soc failed: %v", err) // try to recover from temporary vehicle-api errors