Elapsed is just Sud's own tick-counted total (every step's time, WAIT_USER dwell included, already adds up sequentially with no gaps). Energy has no equivalent single running counter server-side (it's banked per step, not accumulated as one grand total - see tasks/ sud.py's SudTask) - summed here instead from every finished step's own Wh total plus the active step's running one, then converted to kWh. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019qvu5giu7gvRCyEWzf2Vpx