Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TTT doesn't stay active - Pixel 2 #83

Open
mxdsa opened this issue Aug 21, 2018 · 11 comments
Open

TTT doesn't stay active - Pixel 2 #83

mxdsa opened this issue Aug 21, 2018 · 11 comments

Comments

@mxdsa
Copy link

mxdsa commented Aug 21, 2018

Ever since switching to the Pixel 2, TTT won't stay active. I recently upgraded to Android 9 and its the same story. The application starts up and tracks, but sometime throughout the day it closes. Not sure how long it lasts. I've given it as many permissions as I can find.

I know this isn't much info to go on, but has anyone else had this issue? Probably more helpful - is there a log somewhere on the phone that I can dig up and provide?

I really like TTT because it provides me with access to my own data, which I use for myself. (Even tho the Big Datas get it too.)

Thanks!

@NitroNils
Copy link

NitroNils commented Aug 22, 2018 via email

@mxdsa
Copy link
Author

mxdsa commented Sep 7, 2018

I'm attaching an excerpt of the Wake Lock Debug file. You can see that the application stops on August 31. Is there any information here that hints at the problem?
ttt_wake_lock_debug-excerpt.txt

@auduner
Copy link

auduner commented Oct 29, 2018

There was a bug with "flight mode" interrupting logging some time ago. Could it be that?

@redfish64
Copy link
Owner

redfish64 commented Oct 30, 2018

I noticed it has "Gps Strategy is shutdown" in the log. This indicates that android is killing the background process (aka service) that periodically logs points. I'm not sure why it's doing this. It could be running out of memory. Sorry I don't have more info than this but hopefully it gives you something to go on.

Maybe this will help, dunno: http://www.androidbeat.com/2017/03/how-to-stop-android-apps-killed-marshmallow-nougat/

@jeroenev
Copy link

jeroenev commented Apr 29, 2019

same Issue on my Oneplus3T, running OxygenOS with android 8 and also when running LineageOS with android 9

@redfish64
Copy link
Owner

redfish64 commented Jun 22, 2019

I did a small attempt at a fix for this. v 1.1.45, should be out in a couple of days as it works through the f-droid system

@igor-cali
Copy link
Contributor

I experience this issue with version 1.1.45.
If I enable the wakelog option, the issue does not happen anymore.
Maybe there is something in the code that should be done even if the wakelog is disabled.

@redfish64
Copy link
Owner

redfish64 commented Sep 8, 2019 via email

@redfish64
Copy link
Owner

redfish64 commented Sep 9, 2019

I created a new version, 1.1.47. Should be out on f-droid in a couple days. Not sure if it is going to work or not, but since it takes a few days for the bug to manifest on my phone, decided to just release it to let people try it if they'd like.

@redfish64 redfish64 reopened this Sep 10, 2019
@redfish64
Copy link
Owner

I made another small tweak because 1.1.48 wasn't working. This schedules a job that runs every 10 minutes or so and restarts the service if stopped. Hopefully it will work, but not sure.

@redfish64
Copy link
Owner

Nothing seems to work. I was able to fix it for my Note 8 (Oreo) in settings, by going to Apps, searching for Tiny Travel Tracker and disabling "Optimize battery usage". Please let me know if something like this exists for the Pixel and fixes the issue. I will update the README if so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants