On the latest versions of Android, the power-saving system can cause problems.
Depending on the model, when your phone is locked or the application is running in the background.
In fact, these systems are sometimes over-optimized and can interrupt the application or reception of GPS points.
To solve this problem, disable battery optimization on BikeCompanion.
This menu for disabling battery optimization may differ according to Android version/model.
In general, to access this menu, go to “Settings” then “Applications” then “BikeCompanion”.
Once in the BikeCompanion application settings, search for “Battery” or “Battery optimization” to disable optimization.
On my old Galaxy it looks like this (it may be different depending on the Smartphone model / Android version):
For more details, here is a site that lists the phone models subject to this problem.
Find the make and model of your phone so that you can also follow the resolution procedure: https: //dontkillmyapp.com/