for some phones to keep the app running in background do the following. 1. Go to phone manager add app to protected apps. 2. Go to settings &gt;apps&gt;advanced&gt;ignore battery optimizations Click on (allowed) then select (all apps)   look for GPSlogger then select allowed.