I am trying to find a way to reset the remaining battery percentage to 100% after a battery hot swap. I am flying long survey missions with multiple battery changes and it is faster to hot swap the batteries (while powering through USB) rather than power down the drone completely.
Anyone know how to reset back to 100% without recycling the power? Thanks.
This was only recently added to master in https://github.com/ArduPilot/ardupilot/pull/11615 and has not made it to any of the stable builds. (I’m unsure if Mission Planner gained a button to let you do this yet or not on master).
For this controller the hardware correctly indicates a very low battery voltage with no battery (an incorrect hardware design would be with some pullup or whatever indicating a voltage not low), so the controller by itself can detect the battery change.
is a bad workaround, but is what I used here. Defining BATT_CAPACITY with an absurdly high value (such as 10 batteries) seems better, if not using this parameter.