I'm running a very simple open-source Android GPS tracker:
I have it set to post GPS coordinates from my phone to my server every 30 seconds. The problem is: it sometimes works, and sometimes sleeps for 3 minutes, or 8 minutes, or sometimes seems like it is completely stopped.
What might be causing this and is there anyway to prevent it from happening?
This is not a "secret" app or malicious in anyway; the person running it knows they are running it. I just don't want to make the user re-launch the app every 5 minutes, or even whenever they restart their device (which the code says it supports already).