android / android/health-samples

Latency of Heart Rate When Starting Exercise

Open
#274 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
346
Forks
183
PR merge metrics
No merged PRs in 30d

Description

Hi, I'm a beginner in Android, Wear OS, and health services. Currently, I want to collect data such as heart rate and calories over a specific period, like 2 minutes.
1. I've tried using ExerciseSample and ExerciseSampleCompose, but I'm not sure about the differences between them since their functions seem quite similar.
2. Also, I believe that the data retrieved on the frontend is accurate, as it's collected by the sensor, but can it compete with the data provided by Samsung Health?
3. I noticed a latency in the heart rate readings when starting exercise, typically taking about 6-10 seconds. Why is there a delay, and why doesn't the sensor reflect the heart rate instantly when the exercise starts?
4. I noticed that Health Services perform standardized calculations for data such as calories. How can I adjust these calculations to account for age and weight?

Contributor guide

Open the contributing guide

Research direction

Start by comparing the ExerciseSample and ExerciseSampleCompose implementations and reviewing how they collect heart-rate and calorie data. Reproduce the reported 6–10 second startup latency, then document the observed behavior, the relationship to Samsung Health, and whether age or weight can affect Health Services calculations.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.