When the location service is initiated, activity updates are requested at each 20 seconds. If the smartphone detects that the user is moving, GPS is turned on and location updates are requested. If the smartphone detects that user still during one
complete minute, location updates stop detection.