Battery Remaining Capacity Reset

PREFLIGHT_REBOOT_SHUTDOWN from MP.

  1. Wait till 3D fix.
  2. First battery change. Some missions, finishing with RTL when battery voltage heard around 10V.
  3. Second battery change. Energy consumed is not reset. Some missions, finishing with RTL when battery voltage heard around 10V.
  4. Third battery change. Energy consumed is not reset. Arming not possible. Hud shows 12.41V battery as bad.
    QuadX7_2020-11-08 10-05-46_tlog_HUD_12V-BadBattery
  5. Controller is reset from MP (supply not interrupted).
  6. Controller reset resets energy and permits arming. Some missions, finishing with RTL when battery voltage heard around 10V.
  7. Fourth battery change. Energy consumed is not reset. Some missions, finishing with RTL when battery voltage heard around 10V.

Above:
ArduCopter V4.0.5 (3f6b43e3)
ChibiOS: d4fce84e
mini-pix 0026003F 34365119 34363234
Param space used: 1338/3840