I was experimenting with something using my app. During the test I intentionally left the app by long clicking the back button (physical fr965 FW 27.09) to go to the watch face, then looked at some widgets, and then came back to the app 30 seconds later. And then I continued my walk (which wasn't part of the test, it's just my usual daily walk, which I was doing while testing) and about 20 minutes later I suddenly looked at the screen and noticed that the distance is odd.
It should've passed 2km by now, and it's 1.39km. I continued walking abut it was clear that the distance is not changing. I did some things (left the app again and came back, which obviously didn't fix it), then I changed the GPS settings (I was in an indoors walk, which by default is without GPS, but because this is in my app and not the Walk Indoors activity I was able to change the GPS setting), and then went out for a few minutes, and there it was, the distance was increasing again.
A bit later I saved the activity and looked at it's graphs in Garmin Connect. And just as I already was expecting there was a huge 20 minute gap, that started at the time I first left the app to the watch face, and ended when I turned the GPS on. Between these times the pace is missing, the cadence in 0 and interestingly the temperature is also missing (except in 2 spikes where seems to be a few seconds of data *) but there HR (from the optical sensor of the watch) is there for the whole time.
*) Il add that I have been walking in my saloon, without my Tempe, which was all of the time in another room, so I don't really know whether it was connected to it or not, but still it seems that at the same time the cadence stopped the temperature data also stopped.
Interestingly one thing I started to suspect yesterday came from this sentence of the documentation: https://developer.garmin.com/connect-iq/api-docs/Toybox/Position.html#enableLocationEvents-instance_function
Multitasking: Location events will be disabled when app enters inacitve state, and re-enabled when is active again. These state changes are denoted by calls to AppBase.onActive() and AppBase.onInactive().

