BasicAirData / GPSLogger

A GPS logger for Android mobile devices
http://www.basicairdata.eu/projects/android/android-gps-logger/
GNU General Public License v3.0
392 stars 121 forks source link

Android Go 13 power control causes tracking stop #199

Open flashydave opened 1 year ago

flashydave commented 1 year ago

Even with battery optimisation turned off the app still reports app being killed. Mostly the track continues to be recorded but sometimes it just stops recording the track completely with the app still running aand appears to be still recording.

Obviously being a light weight OS for low performance devices the full app control is not available = only the optimisation setting

GrazianoCapelli commented 1 year ago

First of all thanks for posting the issue, so now we are aware of it. Please post your phone model and the settings you set to try to enable the background operativity of the app. We'll check if we have good feedback from other users with the same device, and if possible we'll try to solve the problem.

TVEgit commented 1 year ago

I had the same kind of issue with app crashed. I also tested it without crash so crash is not a sure thing.

GPS Logger 3.2.0 on Xiaomi Note 7 Android 10 QKQ1.190910.002 MIUI Global 12.0.3

GrazianoCapelli commented 1 year ago

@TVEgit - I looked into crash reports on Play Console, and I haven't found crashes related to your phone. Are you experimenting app crashes, or your Android system is killing the app in background?

Reading the Play Store reviews I found that someone with your device model reported that MIUI sometimes kills the app in background.

We know that some phones (for example Huawei devices) tend to aggressively kill the apps in background, and that on some Samsung models the app is sometimes killed in background when the users make photos. Now, in this issue, we are trying to know if the problem that the user reported is related to the specific user, to some phone model or to Android Go 13 systems.

Unfortunately Android and many manufacturers, trying to optimise the battery life, made a mess with the background operativity, and there is no way to solve it at app level.

flashydave commented 1 year ago

FWIW the phone I reported is a low spec Alcatel 1.

To your para below I have noticed if you receive a phone call the GPS tracking stops but doesnt get reported in the UI by the app or the OS.

On 14:56, Thu 05 Jan 23, Cat wrote:

@TVEgit - I looked into crash reports on Play Console, and I haven't found crashes related to your phone. Are you experimenting app crashes, or your Android system is killing the app in background?

Reading the Play Store reviews I found that someone with your device model reported that MIUI sometimes kills the app in background.

We know that some phones (for example Huawei devices) tend to aggressively kill the apps in background, and that on some Samsung models the app is sometimes killed in background when the users make photos. Now, in this issue, we are trying to know if the problem that the user reported is related to the specific user, to some phone model or to Android Go 13 systems.

Unfortunately Android and many manufacturers, trying to optimise the battery life, made a mess with the background operativity, and there is no way to solve it at app level.

-- Reply to this email directly or view it on GitHub: https://github.com/BasicAirData/GPSLogger/issues/199#issuecomment-1372896841 You are receiving this because you authored the thread.

Message ID: @.***>