owntracks / booklet

The definitive OwnTracks documentation
http://owntracks.org/booklet/
43 stars 59 forks source link

Add details on `locatorPriority` for android #54

Closed Dopeyr closed 4 years ago

Dopeyr commented 4 years ago

Add details on locatorPriority for android, as the constants don't quite map e.g. 2 == 102 for balanced power, but 0 !== 100 for high power, instead 3 == 100 for high power.

Dopeyr commented 4 years ago

Added some clarifications to the android docs when comparing the code https://github.com/owntracks/android/blob/6b9c2dd29565988a4e26d2153e493ad319d539f4/project/app/src/main/java/org/owntracks/android/services/BackgroundService.java#L544 to the LocationRequest https://developers.google.com/android/reference/com/google/android/gms/location/LocationRequest#setInterval(long)

jpmens commented 4 years ago

Merged, thank you