title: Efficient Background service for tracking user location
body: <p>I am developing a small android application in which I want to have Geolocation functionality.
  What I want to code is one service which gives the updated location of a user whether they are using my application or not.</p>
  
  <p>I know that if I am continuously checking the user's location it will drain the battery of the  device, so I want good solution for that. For example, to give me updates every 5 or 10 minutes. I have read about this question a lot but I wanted to get one good solution.</p>
  
  <p>I read <a href="http://android-developers.blogspot.ro/2011/06/deep-dive-into-location.html" rel="noreferrer">this page</a> and it's a good solution if the user is using my application but if the user not using my application then what should I do? How do I solve this challenge?</p>