Android FusedLocationProvider stops giving location when phone is idle
<p>I'm working on location tracking application using FusedLocationProvider. I have a background service which tracks location of phone in every 5 minutes.</p>

<p>All works well with it, but once the phone goes idle then after 3 to 4 hours of time, the background service stops to take location. When user unlocks the phone the tracking start again.</p>

<p>Can someone please guide me what could be causing the issue?</p>