Telemetry
0 steps is not the same as unknown activity
- Learn
A recorded 0 means the sensor was worn and measured no steps. An unknown_activity record means there is no reliable measurement, for example because the phone was off, the watch was not worn, or permission was revoked.
- Apply
Store missing activity as null with a reason code, never as 0. Report the number of unknown windows next to every activity metric, and keep them out of averages.
- Innovate
Add a wear-time or data-freshness flag to each window, and let the simulator abstain when activity is unknown, as it does in the exercise above.
Source: Health Connect: steps data