title: Is there way to track user current location within service workers in PWA while app is in sleep mode?
body: <p>Whether you're into jogging, or cycling and want to track your trips, or you manage a fleet of trucks, farm or mining vehicles or delivery bikes you need to track your geographical position while your Web App is backgrounded or your device is asleep.</p>
  
  <p>I'm wondering if today's web applications PWA can support something like live tracking of user position in the background using service workers and send notifications.</p>
  
  <p>Will this work in the service workers: </p>
  
  <pre><code>window.navigator.geolocation.getCurrentPosition(function(pos) {
    console.log('pos: ', pos);
  });
  </code></pre>
  
  <p>while app is in the background?</p>