You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.
I tried this Google example code - https://github.com/android/location-samples/tree/master/ForegroundLocationUpdates:
priority = LocationRequest.PRIORITY_HIGH_ACCURACY
but it keeps my Android 5 phone WARM and will DRAIN its battery in ~ 8 hours
priority = LocationRequest.PRIORITY_BALANCED_POWER_ACCURACY
then I never get updated location but only the old location.
Should I implement some auto-job e.g. with workmanager
https://developer.android.com/topic/libraries/architecture/workmanager
which will let's say 3-4 times per hour:
Or is there any other better solution?
Thanks!
The text was updated successfully, but these errors were encountered: