If your app is running in the background, the location system service computes a new location for your app only a few times each hour . This is the case even when your app is requesting more frequent location updates.
Read moreWhat does background location mean?
Android 10 features a background access location reminder, which increases transparency into how much access apps have to a device’s location and helps users maintain control over such access. In Android 9 and lower, an app can track a device’s location while running in the background without the user’s knowledge.
Read more