By using this method updateLocationWhenStationary , location will update every x seconds when the device goes into a stationary state.
Except for time-based custom tracking, this will operate in all tracking modes, including active, passive, balance, and distance based custom tracking.