Improving Auto Pause for Everyone
Article Summary
Strava's engineering team faced a deceptively hard problem: how do you automatically detect when a runner stops moving without draining their battery or showing the wrong pace?
The Strava team rebuilt their auto-pause feature from scratch to work across all devices, not just the iPhone 5s. They had to solve fundamentally different problems for cyclists (who want reliability) versus runners (who need sub-second accuracy).
Key Takeaways
- GPS-based auto-pause took 5+ seconds to detect stops, making pace calculations off by 15-25 seconds per mile
- Switched to accelerometer data measuring 'jerk' (acceleration derivative) to detect running motion within 1 second
- Cyclists get inclusive 10-second pause threshold; runners get responsive motion detection that ignores walking
- Final accuracy: within 5-10 seconds per mile even with 2-3 stops, down from 15-25 seconds with GPS alone
By combining accelerometer motion detection with GPS fallbacks, Strava achieved sub-second pause/resume accuracy while maintaining the same stats from recording to upload.
About This Article
Strava's server removes stopped time after you upload an activity, but the auto-pause feature on your phone only kicks in after 10 seconds of no movement. This creates a gap: if you stop for 25 seconds, only 15 seconds get removed from your recorded time.
Strava Engineering added a backup resume function that uses GPS data. It helps when runners hold their phones still while looking at the screen, which can accidentally trigger false pauses. The fix smooths out the accelerometer motion signal to prevent this.
When you record with auto-pause on, the server skips its normal cleanup process. Your stats in the app at the end of your activity, like total time, splits, and pace, now match what you see on Strava after uploading.