Accurate measurement
- Counts only with an active tab, a focused window and a non-idle user
- Optional: count only on real input — mouse, keyboard, scroll
- Tabs playing audio still count, so videos aren't read as a pause
- The idle threshold is subtracted retroactively
- Sessions crossing midnight are split across both days
- Sleep and standby never turn into fake hours