Android BLE scan performance significantly degrades in the background
I'm developing an Android app that continuously scans for BLE advertisements in the background. I use a foreground service to perform BLE scanning, and I restart the scanner every 3 minutes. The sensor periodically broadcasts BLE advertisements, and I want the app to receive these advertisements reliably without missing them. When the app is in the foreground, the scan duty cycle is effectively 100%. However, as soon as the app goes into the background or the screen is turned off, it drops to around 5%. I confirmed this behavior by analyzing the HCI snoop log, and captured the actual LE_Set_Ex
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.