A tracked charge with a valid meter_start value (not NAN) but with a meter_end value of 0 or NAN and a duration of 0 seconds is one, where the charger power cycled while charging. Because of https://github.com/Tinkerforge/esp32-firmware/issues/209, such charges exist in the wild.
We can fix those if the next charge has a valid meter_start value.
A tracked charge with a valid meter_start value (not NAN) but with a meter_end value of 0 or NAN and a duration of 0 seconds is one, where the charger power cycled while charging. Because of https://github.com/Tinkerforge/esp32-firmware/issues/209, such charges exist in the wild. We can fix those if the next charge has a valid meter_start value.