-
do you know how many days it stores?
Not really sure if records are ever deleted automatically at all. I'd refer you to the code/readme/PRs or have someone else answer.
Two notes on implementing dynamic hrm logging:
You could use the step counting as indicator for exertion level and to change hrm logging interval. Or just look at the latest hrm reading like you've said.
The syncing logic will probably break with changing the logging interval. I think Gadgetbridge expects 10 min intervals. So that would probably need tweaking as well.
EDIT:
Also just to make sure, you're aware of the
recorder
app? Maybe you'd want to trigger that automatically instead of changing thehealth
app. Another way to acheive your goal maybe.
I'll see about updating my health app for the dynamic time check. I assume the check delay is a variable, and I can just modify the heartrate check method in the code so that if the HR is over a certain amount, it sets the delay dynamically shouldn't be very hard....
Great to hear the health app stores days of data... do you know how many days it stores?