telemetry example corrected power for neg PWM, and cumulative energy for missing samples

ready for main repo