Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth connected mode fails after after few days in background #2142

Open
markoaamunkajo opened this issue Sep 2, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working investigation
Milestone

Comments

@markoaamunkajo
Copy link
Collaborator

Description:

Bluetooth background scanning keeps failing on iPhone SE after few days in background.
iPhone SE, iOS 17.5.1, Ruuvi Station 2.11 (2408191725)
App refresh in the background allowed

After bringing app to foreground:
https://github.com/user-attachments/assets/a54530fe-a890-4bbd-8404-828e191ea403

Set scanning interval:
Image

Example CSV:
Ruuvi D5E9_20240902T83837+0700.csv

@priyonto
Copy link
Collaborator

@laurijamsa Since you are not in the meeting- I have investigated this and unfortunately there's no real progress made on this in terms of preventing the issue.
The findings are so far - When user kills the app, it also kills the connection which is expected, and that means background scanning won't work anymore unless user restarts the app. Currently restarting the app reconnects the sensors usually but there are cases when it doesn't, and there is so far no pattern found when it does connect, and when it doesn't. Besides, when system kills the app in background it should wake the app as well when there are peripherals connected before system kills it. But, that's also something not easy to debug to be sure whether it works as we don't know when or how system kills it.

So @markoaamunkajo and we agreed to move this card to backlog as it feels like going in circles with this. But, before I move it to backlog I will investigate one last time over this weekend and see if I can find anything new.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working investigation
Projects
None yet
Development

No branches or pull requests

2 participants