Battery drain when ConnectIQ app is not running

I've had several users mention that they believe the Activity Recorder app is responsible for battery drain that they are seeing since installing. In my mind this is not possible; the application would need to be active in some capacity for this to happen. I've audited my code and noticed that I enable sensor and position events in some cases, but do not explicitly disable them on app exit. I've since updated my code to do disable them, but I'm still curious if this could be the source of problems.

I'm guessing that they're both affected by some sort of Bluetooth or WiFi issue, but have no evidence at this point.

Any thoughts?
  • noticed that I enable sensor and position events in some cases, but do not explicitly disable them on app exit. I've since updated my code to do disable them, but I'm still curious if this could be the source of problems.

    There is a chance this is the cause of the issue your users are seeing, but if it is, it is a device bug, and not something you should need to handle. However, if it is the issue, then the steps you have taken should resolve it.

    We will double check that the devices are disabling sensors/GPS when apps close as they should be.
  • Sir, 7 years elapsed, did you fix the issue? ;( 

    Some users have pointed out that my app is the culprit for the continuous power consumption.

    I don't think I should be responsible for the fast-drain after app exiting