I have been testing Battery consumption of my Beacon detector app in Android using Android Beacon Library. The configurations I set are these -
1) Background Scan Rate - 110 ms 2) Background Between Scan Rate - 10000ms 3) Foreground Scan Rate - 110ms 4) Foreground Between Scan Rate - 10000ms 5) Advertising Rate of Beacon emission - Low Latency (10 Hz) 6) No power saving class used 7) Detecting Eddystone UID beacons
I have tested this configuration for 16 hours with other beacons(all emitting at same 10 Hz frequency) around.
The battery consumption is something I expected however the beacon detection frequency is something I don't understand. There are time periods when beacons are rarely detected at all. I observed 2 phases - 1) 1 hour period where there were around 400 detections 2) 2 hour period where there were around 12-15 detections
This happened in cycles. What can be the reason? Is it something related to Android 5.0 new scanning API's? Any thoughts?
Thanks