Commit Graph

3 Commits

Author SHA1 Message Date
Arne Schwarck
02c4ade948 Battery protection (#888)
* Battery protection

If your car battery voltage is lower than 0% switch off charging to stop the Eon from damaging the 12v car battery. Leaving you with a car that can not start but has a fully charged eon ;-)

* add rbiasini comment && !ignition

* Update Offroad_ChargeDisabled with voltage low

* simplify alert

* non-temporal hysteresis from @rbiasini

And up the start charge limit to 12v. i.e. 50% car battery voltage

* once battery power recovers to 11.500 volts charge

This leaves 1v inbetween for any fluctuations that could occur.

* fix indent

* Fix indent of whole block

It looks like sometimes when you copy and paste into the github web interface some white spacing gets added or removed. BE AWARE!
2019-12-04 11:46:39 -08:00
Vehicle Researcher
d7f0b402a8 openpilot v0.6.6 release 2019-11-04 15:13:52 -08:00
Vehicle Researcher
cf80f7a28b openpilot v0.6.5 release 2019-10-09 18:43:53 +00:00