OnePlus applies restrictions on apps running while the screen is off. To make sure GPS tracking works properly, please follow these instructions.
Settings may differ depending on the version of OxygenOS. If you are having troubles configuring your device, please contact our support at firstname.lastname@example.org.
Turn off System Settings > Apps > Gear Icon > Special Access > Battery Optimization.
Turn off System settings > Battery > Battery optimization, switch to ‘All apps’ in top right menu > DotVision Motion > Don’t optimize.
- OnePlus 6 and further: Navigate to System settings > Battery > Battery optimization > (three dots) > Advanced optimization.
Disable Deep optimization and Sleep standby optimization.
- OnePlus below 6:
Turn off System settings > Battery > Battery optimization > (three dots) > Enhanced optimization.
Warning: these settings may be reverted randomly from time to time by the system. Always check them before starting a tracking session.
[Credits to https://dontkillmyapp.com/oneplus]