brvier / ForRunners

The new repository is located here : https://gitlab.com/brvier/ForRunners
https://gitlab.com/brvier/ForRunners
GNU General Public License v3.0
71 stars 22 forks source link

Application closes itself during running #64

Open gpuaux opened 6 years ago

gpuaux commented 6 years ago

During a running, (after 35 min), GPS signal was lost. After that, I didn't hear the vocal message occuring each 5 min. When my session was done, the application was no longer running on the phone. I opened the application after that, but no session was recorded. It was the first time use of this application.

The phone is a XIAOMI Redmi 4A, with MIUI Global 8.5.1.0 Stable (Android version 6.0.1 MMB29M). Application installed from FDroid.

Is there some debug files I can give for this issue ?

brvier commented 6 years ago

I already got similar report on Xiaomi device. It s look like the ‘Battery Saver’ feature implemented by Xiaomi didn’t respect background prefs of apps and kill them.

http://nine-faq.9folders.com/articles/8771-how-to-turn-off-background-restriction-on-the-xiaomi-devices

Benoît HERVIER - http://rvier.fr

Le 12 févr. 2018 à 14:20, gpuaux notifications@github.com a écrit :

During a running, (after 35 min), GPS signal was lost. After that, I didn't hear the vocal message occuring each 5 min. When my session was done, the application was no longer running on the phone. I opened the application after that, but no session was recorded. It was the first time use of this application.

The phone is a XIAOMI Redmi 4A, with MIUI Global 8.5.1.0 Stable (Android version 6.0.1 MMB29M).

Is there some debug files I can give for this issue ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

gpuaux commented 6 years ago

In fact I already added the ForRunners application in the list of applications with no restriction for battery. So this is not the reason for the application to close.

After the running session, because of the application closing, I decided then to disable entirely the battery usage restriction. My phone will no longer restrict all the applications. For my next running session, I will then test that the application is running well.

Thanks a lot for developing this app :)

brvier commented 6 years ago

Ouch so ... it should not be closed ... this require more investigation.

Anyway I change many things in planned release but I m still tracking one bug before releasing that appear only on some device.

Did you have developer mode activated ?

Benoît HERVIER - http://rvier.fr

Le 13 févr. 2018 à 10:09, gpuaux notifications@github.com a écrit :

In fact I already added the ForRunners application in the list of applications with no restriction for battery. So this is not the reason for the application to close.

After the running session, because of the application closing, I decided then to disable entirely the battery usage restriction. My phone will no longer restrict all the applications. For my next running session, I will then test that the application is running well.

Thanks a lot for developing this app :)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

gpuaux commented 6 years ago

Yes, I have the developer mode activated. Only for usb debugging to be able to share files with my computer. I have no experience on android dev, but if I can help by doing something...

Grégory

gpuaux commented 6 years ago

Hello I can give maybe more information. I ran today trying using another sport tracking software. With two different softwares running simultaneously plus spotify, they all stopped during my running session. I don't know if they stopped simultaneously or not (at a moment the music stopped, I checked the smartphone et saw none of the softwares running).

So, maybe the problem is not specific to forrunners but maybe it happen when some softwares uses intensively the GPS. I will try soon with a hikking tracking software and give you some feedback. If you need that I log some files with forrunner don't hesitate to ask for.

Best

Grégory

brvier commented 6 years ago

This could be close by ressource management of your device, but yes, logs are always welcome