I am using Alt Beacon to monitor and range beacons. Monitoring always happens based on the foreground and background scan times. Once a region is entered, ranging is started and ranging is not stopped. I have the following questions about ranging 1. Does ranging still happen even if the beacon range is exited? 2. If ranging and monitoring is running will it consume more battery power? 3. Will battery consumption improve if ranging is stopped?
1 Answers
3
votes
No, it makes no difference on battery consumption whether you are monitoring or ranging what matters is if the app is in the foreground.
The Android Beacon Library will do constant bluetooth scans while the app is in the foreground. In the background it will do a scan for 10 seconds every five minutes (Android 4.3-4.4, actual intervals are configurable) and constant low power scans on Android 5+.
All of the above assumes you enable the BackgroundPowerSaver as recommended with the library.