Loading...
Searching...
No Matches
HealthSaved Struct Reference

The only part worth keeping across a relaunch. More...

Data Fields

uint8_t tag
 STORE_TAG_HEALTH, so a restore can tell this blob from another shape.
uint8_t hr_history [HR_HISTORY_MINUTES]
 The saved rolling heart rate window.
time_t hr_last_min
 Wall-clock minute the window last slid to.

Detailed Description

The only part worth keeping across a relaunch.

Every other number is read back off the health service before the first paint, but the watch logs heart rate too rarely to rebuild the graph, so the rolling window is saved instead.


The documentation for this struct was generated from the following file: