Skip to content

HealthKit Data Deep-Dive

HealthKit Data Deep-Dive

Rubric syncs 10 data types from Apple HealthKit, uses non-midnight day boundaries to match how you experience your day, and deduplicates overlapping data from multiple devices.

What Rubric Syncs

Data TypeWhat Is SyncedUnit
StepsDaily total (deduplicated)count
Active CaloriesDaily total (deduplicated)kcal
Basal CaloriesDaily resting energykcal
Exercise TimeDaily totalminutes
DistanceWalking and running distancekm or mi
Sleep DurationTotal sleep time with stage breakdownminutes
Resting Heart RateDaily averagebpm
Heart Rate VariabilitySDNN measurementms
VO2 MaxLatest estimatemL/kg/min
WorkoutsIndividual sessions with type, duration, heart rate, calories, and source appvaries

Weight is also synced when a new measurement appears in Apple Health.

When Sync Happens

Rubric syncs HealthKit data at three points:

TriggerBehavior
App launchSyncs every time you open Rubric.
App resumeSyncs when you return to Rubric after 30 or more minutes in the background.
Pull to refreshSwipe down on the dashboard to force a sync. This bypasses the 30-minute rate limit.

Under normal use, you do not need to think about sync. Open the app and your data is current. If something looks stale, pull to refresh.

Day Boundaries

Rubric does not use midnight as the boundary between days. Instead, it uses windows that match how most people experience their day:

Metric TypeDay WindowWhy
Sleep6 PM to 6 PMGoing to bed at 11 PM and waking at 7 AM is one night of sleep, attributed to the day you went to bed.
Activity4 AM to 4 AMA late-night gym session at 11:30 PM counts toward that day’s activity, not the next calendar day.

What this means for you: If you check your dashboard at 2 AM after a late workout, that workout appears under the previous day. Rubric’s boundaries match how you think about your day, not the midnight clock rollover.

Sleep Source Priority

If you wear multiple devices that track sleep (e.g., Apple Watch plus a dedicated sleep tracker), Rubric uses a priority system to avoid double-counting:

  1. Dedicated sleep trackers (e.g., Eight Sleep, Whoop) are preferred when available.
  2. Apple Watch is the fallback.
  3. [VERIFY] AutoSleep and other third-party Watch apps fall between dedicated trackers and raw Watch data.

The system selects the highest-priority source for each night rather than merging data from multiple trackers.

Deduplication

Apple HealthKit can contain overlapping data from multiple sources. Your Apple Watch and a Peloton bike might both record active calories for the same workout. Rubric uses Apple’s built-in deduplication, which correctly combines overlapping samples instead of summing them.

This is why your Rubric calorie count may differ from a simple total of your Watch and Peloton readings. Rubric shows the deduplicated number, which is the accurate one.

What Does Not Sync

The web app cannot access HealthKit. It displays health data that was previously synced from your iPhone. If your web dashboard looks stale, open the iOS app and pull to refresh.


Related Articles