Summary
I'm reporting a reproducible discrepancy in FIT Lap elapsed-time summaries when a Connect IQ application uses Toybox.ActivityRecording.Session to record two active periods separated by a stopped recording interval.
In two independent fēnix 7 simulator recordings, the second Lap's start_time + total_elapsed_time extends beyond the final native recording Stop event.
The discrepancy is 35.007 seconds in an independent minimal control and 45.183 seconds in a separate affected recording.
Both FIT files pass Garmin SDK integrity and decoding checks. We would appreciate clarification on whether this is expected ActivityRecording/FIT behaviour or a simulator/runtime defect.
Environment
-
Connect IQ SDK: 9.3.0
-
Target:
fenix7 -
Simulator: fēnix 7 / quatix 7, version 5.2.0
-
Development platform: macOS (OS version not recorded)
-
Application type: Device App
-
Activity type: Running
-
API:
Toybox.ActivityRecording.Session -
Physical fēnix 7: Not yet tested
Reproduction procedure
An independently written minimal Monkey C watch application uses a single native Running Session.
The exact API call sequence is:
createSession() → start() → addLap() → stop() → start() → stop() → save()
-
Call
ActivityRecording.createSession()and obtain a non-null, initially stopped Session. -
Start recording and allow the first active period to run.
-
Call
addLap()once, thenstop(). -
Leave the Session stopped for a break.
-
Call
start()again on the same Session. -
Record the second active period, then call
stop(). -
On a separate button press, call
save()once. -
Decode the resulting FIT and compare Lap summaries with timer Events and the Session summary.
The relevant Boolean operations all returned true.
The intended result is one Running Session with two playing-period Laps, without recording the break as an additional Lap.
Actual results
Reproduction A — Minimal independent control, 22 November 2026
Timer Events (UTC):
-
09:58:04 — Start
-
09:58:16 — Stop
-
09:58:51 — Start
-
09:59:03 — Stop
Lap 2 contains:
-
start_time: 09:58:51 -
total_elapsed_time: 47.007 seconds -
total_timer_time: 12.003 seconds -
Calculated end (
start_time + total_elapsed_time): 09:59:38.007
This calculated Lap end is 35.007 seconds after the final Stop event.
The Session's calculated end is 09:59:03.010.
Reproduction B — Separate affected recording, 29 November 2026
Timer Events (UTC):
-
02:31:45 — Start
-
02:31:53 — Stop
-
02:32:38 — Start
-
02:32:46 — Stop
Lap 2 contains:
-
start_time: 02:32:38 -
total_elapsed_time: 53.183 seconds -
total_timer_time: 8.583 seconds -
Calculated end (
start_time + total_elapsed_time): 02:33:31.183
This calculated Lap end is 45.183 seconds after the final Stop event.
The Session's calculated end is 02:32:46.845.
The independent minimal control reproduces the same discrepancy pattern, although the measured overrun differs between the two recordings.
FIT integrity
Both simulator-generated FIT files passed the installed SDK's integrity and decoding checks.
Each contains:
-
One Activity
-
One Running Session
-
Two Laps
-
Four timer Events
Neither recording contains a Record message strictly within the stopped interval or after the final Stop.
The issue concerns the interpretation or generation of Lap summary timing fields rather than an observed extension of actual recording beyond the final Stop event.
Expected behaviour
We recognise that FIT total_elapsed_time can include paused intervals, while total_timer_time represents active timer time.
However, if Lap 2's start_time represents the second recording Start event, we would not expect its elapsed-time calculation to place the Lap endpoint beyond the final recording Stop solely because the preceding stopped interval was included in Lap 2's elapsed time.
If this behaviour is intentional, we would appreciate clarification of the supported semantics.
Questions for Garmin
-
Is the observed Lap summary expected when using
addLap() → stop() → start()on a single ActivityRecording Session? -
Is the stopped interval intentionally included in Lap 2's
total_elapsed_time, even though Lap 2'sstart_timerepresents the recording resumption? -
Should
Lap.timestamp, or another FIT field, be treated as the authoritative Lap end boundary in this situation? How should developers interpretstart_timeandtotal_elapsed_timewhen their calculated endpoint exceeds the final Stop event? -
What supported ActivityRecording call sequence or FIT representation allows developers to record two chronologically coherent playing Laps separated by an excluded break, while preserving one Activity and one Session without adding a separate break Lap?
-
Is this behaviour specific to the simulator, or would a physical fēnix 7 behave similarly?
Supporting evidence
We have preserved:
-
An independent minimal Monkey C reproduction.
-
Both original simulator-generated FIT files.
-
Decoded Lap, Session, Activity and timer Event messages.
-
Exact reproduction steps and timing comparisons.
-
Relevant simulator and diagnostic evidence.
-
File hashes and provenance.
The original FIT files contain user-profile metadata, so we have deliberately kept the detailed technical evidence out of the public report.
We can provide the minimal reproduction, FIT files and diagnostics privately to Garmin's Connect IQ engineering team, referencing this bug report.
The objective is to establish the intended Garmin-supported behaviour before enabling FIT recording in our application on physical devices.
Thank you for your assistance.