Beacon Ranging vs GPS Battery Tracking

I am looking for an implementation of a lighthouse-based application to track location based on lighthouse placement. From what I read and understood, monitoring beacons is quite harmless in battery life, but it definitely requires more battery life.

Are there any specifications or tricks / methods to minimize battery consumption during setup? How does battery life depend on GPS location?

+4
source share
2 answers

The beacon uses much less battery than GPS tracking , as it includes a Bluetooth Low Energy radio and a GPS receiver. Although I don’t have specific numbers, the GPS receiver is much more hungry.

The difference in power consumption between Ranging and Monitoring is a little muddy and differs from iOS and Android. In iOS, ranking is only allowed in the foreground, unless you have special background resolution (which you can only get if you have a navigation app). When this is done in the foreground, the range uses much less energy than the screen, so it is negligible.

(, Android iOS ) , . , , , , , , .

, , , , . , iOS . , Android, Android Beacon Library, , 10 . Android , iOS .

, ? . , 10% .

, , . iPhone 5+ Android 5+ bluetooth, . iPhone 4S Android 4.x , .

+6

- /, ? GPS?

iOS, Android.

Android BackgroundPowerSaver. . - -

...
import org.altbeacon.beacon.powersave.BackgroundPowerSaver;

public class MyApplication extends Application {
    private BackgroundPowerSaver backgroundPowerSaver;

    public void onCreate() {
        super.onCreate();
        backgroundPowerSaver = new BackgroundPowerSaver(this);
    }
}

: https://altbeacon.imtqy.com/android-beacon-library/battery_manager.html

-

public static final long DEFAULT_FOREGROUND_SCAN_PERIOD = 1100;
public static final long DEFAULT_FOREGROUND_BETWEEN_SCAN_PERIOD = 0;
public static final long DEFAULT_BACKGROUND_SCAN_PERIOD = 10000;
public static final long DEFAULT_BACKGROUND_BETWEEN_SCAN_PERIOD = 5 * 60 * 1000;

, 1,1 , 10 5 .

, BeaconManager.

: https://github.com/AltBeacon/android-beacon-library/blob/master/src/main/java/org/altbeacon/beacon/BeaconManager.java

, , , BLE. , , , . - https://developer.android.com/guide/topics/location/strategies.html

0

All Articles