Android Question GPS service gets paused

chrjak

Active Member
Licensed User
Longtime User
Hey,

I'm having a problem with GPS. It's in a service (started in foreground) and everything works. The Service normally doesn't get killed.

But some days ago i noticed a big problem.
My Phone had about 15% battery and when i locked my phone the service got paused. Not killed and it resumed immediately after unlocking my screen but that mustn't happen. It's for recording the location and when my screen was locked there were no points saved. How to solve that? Or better. Why does this happen?

Best Regards
 

chrjak

Active Member
Licensed User
Longtime User
You mean to disable the lock? Well a lock would be very useful as some users track over hours and their battery will break down with screen on...
 
Upvote 0
Top