bfabiszewski/ulogger-android

Android 8.1 & uLogger: background cellular data upload

Closed this issue · 4 comments

I originally posted in this report as a comment. Changed phone and now running Lineage OS 15 (Android 8.1) on a Bq Aquaris X, having previously been on CM13 on another brand. uLogger worked very well previously. Locally stored track matched the one uploaded to server. Now, under Android 8.1 and uLogger, both from this thread and latest from f-droid - battery optimisation off for the app - the uploaded track has just 37 of the 137 locally logged fixes.

So, background logging is not a problem; as it stands now under Android 8.1, background access by uLogger to the data link seems to be an issue.FWIIW, GPSLogger does not display this behaviour.

Thanks for this report!
I'll have a look at this issue.

I have problems reproducing this issue on emulator. It may require real device to track the problem.

To clarify, do you mean that only first 37 positions are uploaded and then service dies? Or rather some random, nonconsecutive positions from the track are missing?
Is the problem reproducible or it just happens sometimes?

Hi, noting your comment, I confidently set out to test and ... this time, the uploaded track and the on-device one is pretty much the same!

Since the report, I have fiddled with settings so I may have changed something relevant but I am puzzled as I thought uLogger had the same settimgs as gpsLogger. Perhaps I rebooted after I tested to report this bug and battery settings then took?

I will poke around a bit and if nothing emerges, I close. Sorry for the waste of effort. What I saw was intermittent points getting uploaded.

I will close it now. If you notice any problems again, please reopen.