How to verify charge time from a start and stop log
The fictional log supports 30 minutes of charging time. A second sequence has repeated starts and a third is still open. Keep both visible alongside the subtotal.
Fictional records
| Event | Device | Timestamp | Marker |
|---|---|---|---|
| E1 | D1 | 2026-11-26 23:50 | 1 |
| E2 | D1 | 2026-11-27 00:20 | 0 |
| E3 | D1 | 2026-11-27 01:00 | 1 |
| E4 | D1 | 2026-11-27 01:10 | 1 |
| E5 | D1 | 2026-11-27 01:30 | 0 |
| E6 | D2 | 2026-11-27 02:00 | 1 |
What to check
- Confirm what start and stop markers mean in your source. This example uses 1 and 0.
- Keep dated timestamps, a declared time zone, device ID and event ID. Sort by device and time. Review tied events when their order is unknown.
- Count one start followed by one stop for the same device. Close a repeated-start sequence at its next stop for review and keep all of its minutes out of the verified subtotal.
Worked result
Events!C2:C3 supplies 30 minutes. Events!A4:D6 remains ambiguous and row 7 is open. For a local-day report, split the complete interval into 10 minutes before midnight and 20 after midnight.