Skip to content

Instantly share code, notes, and snippets.

@nmeans
Created January 26, 2017 23:12
Show Gist options
  • Save nmeans/7bdef25792a699a5dea222798301b064 to your computer and use it in GitHub Desktop.
Save nmeans/7bdef25792a699a5dea222798301b064 to your computer and use it in GitHub Desktop.
Garmin Bug Report

Hi Garmin,

I'm seeing incorrect calorie publishing from Garmin Connect into Apple HealthKit. For example, I did a run at lunch today. Garmin Connect recorded 453 calories. When I look at the workout in the Activity app, I see 0 calories. When I look at the workout data in the Apple Health app, I see the calorie total reported as 0.45 kcal. I think this is a calorie/kilocalorie reporting issue.

I'm guessing your developers used HKUnit.calorie() to publish the workout to HealthKit when they should've used HKUnit.kilocalorie() when reporting these totals (https://developer.apple.com/reference/healthkit/hkunit/1615359-calorie vs. https://developer.apple.com/reference/healthkit/hkunit/1615576-kilocalorie). Your developers will know what I'm talking about.

I can't be the only person to have run across this problem. Is it a known issue? Any idea when you might have a fix?

Cheers, Nick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment