dalathegreat / Nissan-LEAF-Battery-Upgrade

Software and guides for upgrading LEAFs to bigger and newer batteries
GNU General Public License v3.0
218 stars 39 forks source link

Bugfix: Add back 80% stop charge functionality #33

Closed dalathegreat closed 1 month ago

dalathegreat commented 1 month ago

What

This PR adds back the option to stop charging at 80%. When battery upgrading a 2010-2014 vehicle that has the longlife option, the functionality is lost. The newer batteries ignore the 80% flag sent by the car, and just continue charging to 100%. This PR fixes that, and stops charge at 80% if this option is enabled.

Testers wanted, binaries attached: 3-port: can-bridge-firmware_v4.24beta.zip 2-port: canbridge_4.24beta.zip

dalathegreat commented 1 month ago

Testing is showing that this works! 🥳 Merging it, and doing a release!