Hi Connect IQ team,
I'm Ron Nahari, a Connect IQ developer from Israel. I've built a device app that lets Sabbath-observant Jews keep wearing their Garmin watch over the Sabbath. I'm working on it together with the Zomet Institute, an Israeli institute for technology and Jewish law.
For about 25 hours the watch has to stay passive: the wearer's movement shouldn't create any records. A pool swim session does exactly that. While it is recording, the watch counts neither steps nor floors, and the touchscreen is disabled.
The problem:
- Device: Forerunner 965, firmware 29.05, SDK 9.2.0
- Session:
createSession({:sport => Activity.SPORT_SWIMMING, :subSport => Activity.SUB_SPORT_LAP_SWIMMING, :poolLength => 25.0}) - After 8.3 hours of recording, the system ended the session and showed the native Save / Resume / Discard screen on top of my app.
- The app did not crash. There is no entry in CIQ_LOG, and
Session.isRecording()never returned false before the app was covered. - The native Pool Swim activity on the same watch also ended by itself after a few hours.
My questions:
- Is there a time limit or inactivity timeout on swim sessions? Can an app disable it or extend it to 25 hours?
- If not, is there another way to suspend step and floor counting while my app is running? For example, an option in createSession, or a different sport / sub-sport that has no such limit.
Restarting the session from the app is a poor workaround for us, because the watch plays a tone and vibrates on every stop and start.
Thanks,
Ron Nahari