If you are using a realme device and you're experiencing issues such as missing runs, or nothing being recorded at all, giving Slopes unrestricted battery usage should get things working as expected.
Turn Off Battery Optimization
- Go to the Settings app on your phone
- Tap on App Management → App List
- Tap on Slopes → Power Saver and set to Unrestricted