title: LocationRequest smallest displacement and accuracy
body: <p>I'm building an Android app in which I need to have a very accurate location at a very high frequency.
  I dove into google play services api for location, and found the LocationRequest.setSmallestDisplacement very useful to limit battery consumption.</p>
  
  <p>However, as I am testing it indoor, the locations I get have an accuracy that varies a lot (sometimes 10m, sometimes 96m...), even when I set the Priority of my request as high accuracy.</p>
  
  <p>My prob1em is that setSmallestDisplacement doesn't give a sh*it about the accuracy that is returned last.
  So if I get a location with a very low accuracy, I will still have to walk my "smallest displacement" distance to get a new one, hopefully more accuracte.</p>
  
  <p>I wonder if there is a way to avoid such data (I can't use location that are not accurate enough) or if I have to skip the setSmallestDisplacement part (bad for battery consumption).</p>
  
  <p>Some code for your pleasure:</p>
  
  <pre><code>mLocationRequest = LocationRequest.create();
  mLocationRequest.setInterval(100); //We get a new location every 100ms or so
  //mLocationRequest.setSmallestDisplacement(5);  //but only if we traveled 5m
  mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);
  </code></pre>
  
  <p>Thanks.</p>