In order to enable background location access, users must set the Allow all the time option for your app’s location permission on a settings page , as described in the guide on how to Request background location.
Read moreHow do I access location on Android?
Open your phone’s Settings app. Under “Personal,” tap Location access. At the top of the screen, turn Access to my location on or off .
Read more