This pull request performs the following 4 major things:
Add support on Two-X to watch the battery draw from 100% to 58% and figure out how many amp hours makes up each percent. Continue this from 57% down to 3%. Then, use the Cells method from 3% to 1% (just in case the math was off, 3,2,1% needs to be perfectly accurate). This works amazingly well. In test, I have been trusting it and riding my OW down to 1% with confidence.
Lay the groundwork for temperature based tweaks in the future. Winter is coming!
Added a sliding amp hours draw filter to handle wider swings when the battery is near full and slighter swings when the batter is near empty.
This pull request performs the following 4 major things:
Add support on Two-X to watch the battery draw from 100% to 58% and figure out how many amp hours makes up each percent. Continue this from 57% down to 3%. Then, use the Cells method from 3% to 1% (just in case the math was off, 3,2,1% needs to be perfectly accurate). This works amazingly well. In test, I have been trusting it and riding my OW down to 1% with confidence.
Lay the groundwork for temperature based tweaks in the future. Winter is coming!
Added a sliding amp hours draw filter to handle wider swings when the battery is near full and slighter swings when the batter is near empty.
Tweak the voltage based algorithms a little more.