Acknowledged
CIQQA-3357

Battery drain after app exit caused by ActivityRecording API

I have noticed behavior that the GPS gets turned on when I start an ActivityRecording session, without me needing to enable GPS events with 
Position.enableLocationEvents(Position.LOCATION_CONTINUOUS, method( :onPosition ));
When inspecting the FIT file after recording it is full of all the gps information, and when vieing the activity in the Connect app all the location data is as I would expect from an app utilizing GPS. I am using SPORT_RUNNING with a sub sport. I can't find anything in the documentation around whether this is expected or not. This seems reasonable to me and I am fine with this behavior.

The reason I bring this up is I have gotten reports, and have noticed myself, that there are battery drain issues after the app is closed. I have seen the other threads on this topic and have made sure to close the sensors, disable gps events, and close and null out the session and timers.
I clean up the Session as described in the documentation:
session.stop();
session.save();
session = null;

Yet the issue persists.
I have created an alternative version of my app where I don't use the Activity Recording and instead enable/disable the Sensors and GPS directly and I don't see the battery issue.
This leads me to believe there is an issue in the ActivityRecording API that turns on GPS/Sensors for its own use, but does not clean them up appropriately. Resulting in the battery drain.

I have primarily tested on FR955 but have gotten reports of it on Venu3S as well. I know one other person with FR245 and they claim not to be seeing the issue.
Given these API Versions: FR245 => 3.3, FR 955 + venu3s => 5.1, The issue might be localized to a later ConnectIQ API version.
Parents
  • Follow-up to my comment of 2026-09-09: a second device, a different model, same result.

    Recap of what that comment carried: a purpose-built test app (Connect IQ, ActivityRecording only, no Sensor subscriptions, no position request) that records a 60 s session, saves it and exits by the book, then asks the wearer whether the optical HR LED is still lit after the app is gone. It ran twice on a Forerunner 265 (software 29.05 beta) and the LED was solid after every by-the-book exit; no app-side workaround cleared it; only a watch restart did.

    The obvious objection to that report was that it rested on one watch on beta firmware. It no longer does.

    Second device: Forerunner 255, software bundle 29.05, a wearer unrelated to the first, running the same app installed from the Connect IQ store. One pass, from a watch restart, six steps, each one answered by looking at the back of the watch about 30 seconds after the app closed itself.

    1. Record 60 s as RACKET / PADEL, save, exit. LED ON.
    2. On the leaked watch: LOCATION_CONTINUOUS, then LOCATION_DISABLE, exit. LED ON.
    3. On the leaked watch: Sensor.setEnabledSensors([]) and Sensor.enableSensorEvents(null), exit. LED ON.
    4. On the leaked watch: a throwaway GENERIC session created, started, stopped and discarded, exit. LED ON.
    5. Record 60 s as GENERIC / GENERIC, save, exit. LED ON.
    6. Record 60 s as RACKET / PADEL, DISCARD instead of save, exit. LED ON.

    Every exit is stop(), then save() or discard(), then the session reference dropped, then the app exits; nothing is left recording, and the app never requests a position or subscribes to a sensor at any point.

    What the two devices agree on:

    - The leak is produced by a single 60 s recording from a fresh restart. It does not need a long session or a GPS session.
    - It is sport-independent. GENERIC / GENERIC leaks exactly like RACKET / PADEL on both watches. I mention this because the thread carries an earlier report that it was sport-dependent; on these two devices it is not.
    - It is save-independent. Discarding the session instead of saving it leaks the same way.
    - Nothing the application can do clears it. Releasing the position receiver, clearing the sensor subscriptions, and a throwaway start/stop/discard were each tried on an already-leaked watch. Counting an earlier variant where the throwaway session was held open five seconds before being stopped (three attempts on the FR265), that is eight attempted workarounds across the two watches, of which exactly one appeared to clear the leak once and then failed three of three when repeated. I read that one as noise.
    - A watch restart clears it every time, on both devices.

    So this reproduces on two models in the family this ticket already names (CIQ 5.2.0: FR255, FR265, FR955), on two separate wearers, and the second device is a different product from the beta-firmware one.

    Two limits I want to state plainly rather than have someone find:

    - The LED reading is the wearer's eyes, not an API. Connect IQ cannot read the optical sensor state, so every ON above is a human observation made at the back of the watch after the app closed.
    - I have no overnight drain figure from either tester, and I am not going to get one: both are volunteers who have already given me a careful run, and I am not sending them back to their watches for a third errand. What I have is the LED and the fact that a restart is the only cure - the same fingerprint the earlier reports in this thread describe, and the PDF already attached to this ticket has the percentages.

    The offer from my last comment stands: the test app is a single PRG I can send, and its full source is available - one app, no libraries, about ten short files, and every step above is one function. If someone on the Connect IQ side wants either, say so here and I will attach it or mail it. Both testers are ordinary users of my app rather than developers, and their summary photos show their wrists and device identifiers, so I am not posting those publicly; I can share a cropped copy of either privately with an engineer who wants it.

    In the meantime the only thing I can give my users is a store note telling them to restart the watch after playing, which is not a good place for a scorekeeping app to be.

Comment
  • Follow-up to my comment of 2026-09-09: a second device, a different model, same result.

    Recap of what that comment carried: a purpose-built test app (Connect IQ, ActivityRecording only, no Sensor subscriptions, no position request) that records a 60 s session, saves it and exits by the book, then asks the wearer whether the optical HR LED is still lit after the app is gone. It ran twice on a Forerunner 265 (software 29.05 beta) and the LED was solid after every by-the-book exit; no app-side workaround cleared it; only a watch restart did.

    The obvious objection to that report was that it rested on one watch on beta firmware. It no longer does.

    Second device: Forerunner 255, software bundle 29.05, a wearer unrelated to the first, running the same app installed from the Connect IQ store. One pass, from a watch restart, six steps, each one answered by looking at the back of the watch about 30 seconds after the app closed itself.

    1. Record 60 s as RACKET / PADEL, save, exit. LED ON.
    2. On the leaked watch: LOCATION_CONTINUOUS, then LOCATION_DISABLE, exit. LED ON.
    3. On the leaked watch: Sensor.setEnabledSensors([]) and Sensor.enableSensorEvents(null), exit. LED ON.
    4. On the leaked watch: a throwaway GENERIC session created, started, stopped and discarded, exit. LED ON.
    5. Record 60 s as GENERIC / GENERIC, save, exit. LED ON.
    6. Record 60 s as RACKET / PADEL, DISCARD instead of save, exit. LED ON.

    Every exit is stop(), then save() or discard(), then the session reference dropped, then the app exits; nothing is left recording, and the app never requests a position or subscribes to a sensor at any point.

    What the two devices agree on:

    - The leak is produced by a single 60 s recording from a fresh restart. It does not need a long session or a GPS session.
    - It is sport-independent. GENERIC / GENERIC leaks exactly like RACKET / PADEL on both watches. I mention this because the thread carries an earlier report that it was sport-dependent; on these two devices it is not.
    - It is save-independent. Discarding the session instead of saving it leaks the same way.
    - Nothing the application can do clears it. Releasing the position receiver, clearing the sensor subscriptions, and a throwaway start/stop/discard were each tried on an already-leaked watch. Counting an earlier variant where the throwaway session was held open five seconds before being stopped (three attempts on the FR265), that is eight attempted workarounds across the two watches, of which exactly one appeared to clear the leak once and then failed three of three when repeated. I read that one as noise.
    - A watch restart clears it every time, on both devices.

    So this reproduces on two models in the family this ticket already names (CIQ 5.2.0: FR255, FR265, FR955), on two separate wearers, and the second device is a different product from the beta-firmware one.

    Two limits I want to state plainly rather than have someone find:

    - The LED reading is the wearer's eyes, not an API. Connect IQ cannot read the optical sensor state, so every ON above is a human observation made at the back of the watch after the app closed.
    - I have no overnight drain figure from either tester, and I am not going to get one: both are volunteers who have already given me a careful run, and I am not sending them back to their watches for a third errand. What I have is the LED and the fact that a restart is the only cure - the same fingerprint the earlier reports in this thread describe, and the PDF already attached to this ticket has the percentages.

    The offer from my last comment stands: the test app is a single PRG I can send, and its full source is available - one app, no libraries, about ten short files, and every step above is one function. If someone on the Connect IQ side wants either, say so here and I will attach it or mail it. Both testers are ordinary users of my app rather than developers, and their summary photos show their wrists and device identifiers, so I am not posting those publicly; I can share a cropped copy of either privately with an engineer who wants it.

    In the meantime the only thing I can give my users is a store note telling them to restart the watch after playing, which is not a good place for a scorekeeping app to be.

Children
No Data