Open WayneB8 opened 5 years ago
When you open GPS Logger again after the photo, the track you was recording is already active, or the app starts a new track (i.e. the trackpoints counter returns to zero)?
When I open the GPS logger again immediately after the photo, it's completed the track and prompts for a new track. Counter is zero.
On Sun, 28 Jul 2019 at 17:38, GrazianoCapelli notifications@github.com wrote:
When you open GPS Logger again after the photo, the track you was recording is already active, or the app starts a new track (i.e. the trackpoints counter returns to zero)?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BasicAirData/GPSLogger/issues/71?email_source=notifications&email_token=AMXLLUFF2NL2HBVOLHIIFMLQBVEJFA5CNFSM4IHL3BR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD26ZGUI#issuecomment-515740497, or mute the thread https://github.com/notifications/unsubscribe-auth/AMXLLUBCZMY67EANOFRSQ7DQBVEJFANCNFSM4IHL3BRQ .
In this case the issue occurs because Android 7 kills GPS Logger when is running in background.
If you want to prevent the system from stop a background app, you must go on Android Settings and disable all optimizations for the app (for example battery optimization) AND add it to the background apps whitelist. Sadly every brand implements settings in a different way, so a little research must be done in order to find the right settings page.
Maybe you can find something useful on the following links:
We are glad to receive your feedback.
Hello,
I did another test today with GPS Logger. I opened many APPs and none caused the GPS Logger to stop. I reviewed older tracks and photos. In one track I took a number of photos and it didn't stop then later in the same track I took another 2 photos and the GPS Logger stopped.
I found no way to disable background optimization of APPs.
On Sun, 28 Jul 2019 at 18:18, GrazianoCapelli notifications@github.com wrote:
In this case the issue occurs because Android 7 kills GPS Logger when is running in background.
If you want to prevent the system from stop a background app, you must go on Android Settings and disable all optimizations for the app (for example battery optimization) AND add it to the background apps whitelist. Sadly every brand implements settings in a different way, so a little research must be done in order to find the right settings page.
Maybe you can find something useful on the following links:
- Generic help: https://updato.com/how-to/manage-android-apps-running-background/
- Motorola Forum: https://forums.lenovo.com/t5/Moto-G4-Moto-G4-Plus-Moto-G4/nougat-7-0-automatically-kill-background-apps-how-to-stop-device/td-p/3824331
We are glad to receive your feedback.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BasicAirData/GPSLogger/issues/71?email_source=notifications&email_token=AMXLLUCXJNQLSO7X7D223KLQBVI3VA5CNFSM4IHL3BR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD26ZZFY#issuecomment-515742871, or mute the thread https://github.com/notifications/unsubscribe-auth/AMXLLUCPD7W2YIBGMDWOTKLQBVI3VANCNFSM4IHL3BRQ .
@WayneB8 please take 30 seconds to follow this simple video that shows how to disable the Battery Optimization for an App (the video shows how to disable the optimization for the App named AppointFix; of course, please apply the described procedure for GPS Logger): https://www.youtube.com/watch?v=FQfztftWsD0
Then please make a new test with GPS Logger and your camera.
Hello,
Thankyou for your guide. I've set the battery optimization to off for GPS Logger - [image: image.png] I did a 1hr track with no issues. At the end I took a couple of photos and it stopped the track as previously reported.
Regards, Wayne. ..
On Tue, 30 Jul 2019 at 01:05, GrazianoCapelli notifications@github.com wrote:
@WayneB8 https://github.com/WayneB8 please take 30 seconds to follow this simple video that shows how to disable the Battery Optimization for an App (the video shows how to disable the optimization for the App named AppointFix; of course, please apply the described procedure for GPS Logger): https://www.youtube.com/watch?v=FQfztftWsD0
Then please make a new test with GPS Logger and your camera.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BasicAirData/GPSLogger/issues/71?email_source=notifications&email_token=AMXLLUFUJQW4RE6J7LJQ2HLQB4BLPA5CNFSM4IHL3BR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3BACPI#issuecomment-516030781, or mute the thread https://github.com/notifications/unsubscribe-auth/AMXLLUBHFD7ZG7RIQP3UHMDQB4BLPANCNFSM4IHL3BRQ .
Please try to disable Battery Optimization for Camera too and make another test. Moreover, some Motorola forums suggest to Clear Cache Partition.
Hello, I added the camera to the non-optimized APPs but the GPS Logger stopped as before when the camera was used.
Regards, Wayne.
On Thu, 1 Aug 2019 at 01:31, GrazianoCapelli notifications@github.com wrote:
Please try to disable Battery Optimization for Camera too and make another test.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BasicAirData/GPSLogger/issues/71?email_source=notifications&email_token=AMXLLUD7NKVSSN7C2RISDILQCGV4VA5CNFSM4IHL3BR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3HUOCY#issuecomment-516900619, or mute the thread https://github.com/notifications/unsubscribe-auth/AMXLLUCZ4OBVRTD6CFDHPOLQCGV4VANCNFSM4IHL3BRQ .
Have you tried to Clear Cache Partition? You will not lose any personal data or app setting; the operation will only clear the temporary files of your Android Phone.
Hello, Yes I've cleared all cache data a couple of times recently.
Regards, Wayne.
On Mon, 5 Aug. 2019, 5:11 pm GrazianoCapelli, notifications@github.com wrote:
Have you tried to Clear Cache Partition https://motorola-global-portal.custhelp.com/app/answers/indevice_detail/a_id/111301/p/30,6720,9686 ? You will not lose any personal data or app setting; the operation will only clear the temporary files of your Android Phone.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BasicAirData/GPSLogger/issues/71?email_source=notifications&email_token=AMXLLUEST4IMZ6WT6JJCY4TQC7HCLA5CNFSM4IHL3BR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3Q42MA#issuecomment-518114608, or mute the thread https://github.com/notifications/unsubscribe-auth/AMXLLUBXYFSMC6T753N26LDQC7HCLANCNFSM4IHL3BRQ .
This issue occurs only with BasicAirData GPS Logger, or with other GPS background recorders too? You are using some other loggers that are not disturbed by the Camera app?
As last test, you could try to go on Camera settings and disable the Position Tagging of the photos, and check whether the issue is gone.
Another user on Play Store (review: 22th of May, 2020) reported the same problem on a Moto G Plus (5th Gen) with Android 8.1. So far we found no way to solve it by changing the GPS Logger's code (that doesn't access to camera). Maybe the issue is caused by something related to the memory management of these devices.
I was using GPSLogger to track walking on a Moto G4+ phone with Android v7.0 . A few times it stopped logging and appeared to complete the track. I've now determined if I use the camera it causes this. When I immediately check on the GPSLogger AP after using the camera it shows waiting for GPS although it had been tracking fine a minute before, before using the camera.
This is a recent issue I don't recall from log ago. The AP is ver 2.2.1