[WIP] Heart rate zone tracker #2383
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Categorizes time spent in five heart rate ranges. These are calculated relative to a set max heart rate estimated by age corresponding to 50% (zone 1), 60% (zone 2), 70% (zone 3), 80% (zone 4) and 90% (zone 5) and above respectively. Alternatively the maximum could be captured via the sensor.
Usage: These "zones" apparently roughly correspond to where different muscle types are activated and/or are stressed via aerobic or anaerobic activity. Some professional trainers suggest spending different %'s of time in each range per exercise to build endurance or strength. The suggestion being spreading the time across high and low zones improves results for both more than doing strictly one or the other.
Notes: It is not recommended to stay in the highest zone for a significant amount of time, since it is so close to your maximum heart rate. Reading snippets from garmin and other sources, zone 2 and zone 4 are the targets for exercise. With more time spent in zone 2 to build endurance and less comparatively in zone 4 for strength. Although zone 3 sits in between 2 and 4 and may produce benefits towards both strength and endurance, from what I've read it sounds as though it's not nearly as effective as splitting time between 2 and 4? I'm no professional trainer, talk to a professional trainer.
The rough explanation for why you'd want to pay attention to these ranges is this: muscle fibers active in the lower heart rate ranges produce less lactic acid (lactic acid buildup prevents muscle fibers from contracting, this is what produces the sensation of being sore) compared to those active towards the higher range (these tend to be stronger but produce more lactic acid). By exercising such that your body would build a balance of the two your muscles will be stronger and be capable of clearing enough lactic acid to exercise longer.
When complete this should be used in combination with #2371, or any improvement to the heart rate sensor.