The JS 2s poll that stored workout HR samples is frozen by Android when the screen is off, so a sleep-long recording kept only the on-screen stretches (the strap and live display were fine — the persist path was the gap). The foreground service now appends every reading to ble_hr_log.jsonl; ble_read_hr_log exposes it; on stop the workout rebuilds its samples from that log (falling back to the poll array). ble_clear_hr truncates the log at start. |
||
|---|---|---|
| .. | ||
| bmr.js | ||
| chzn.js | ||
| db.js | ||
| gps.js | ||
| main.js | ||
| poi.js | ||
| router.js | ||
| tilecache.js | ||