I have two intent services: 1. receives location updates in the background using Fused Location API. 2. Receives Activity Recognition in the background using Activity Recognition API.
whenever i detect that the user is standing still i want to be able to change the priority of fused location from PRIORITY_HIGH_ACCURACY to PRIORITY_BALANCED_POWER_ACCURACY.
I heard about removeLocationUpdates() and then calling to requestLocationUpdates() but i cant use that since im only running intent services without activity in the background.
Any help would be helpful.