Skip to content

Commit

Permalink
Reducing GPS usage
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobSheehy committed Oct 6, 2014
1 parent a54cfdc commit d23b801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ca/cumulonimbus/pressurenetsdk/CbLocationManager.java
Expand Up @@ -135,7 +135,7 @@ public void onLocationChanged(Location location) {
log("new location, it's not any better " + location.getProvider() + ", best altitude is " + currentBestLocation.getAltitude());
}
LocationStopper stopLater = new LocationStopper();
mHandler.postDelayed(stopLater, 1000 * 10);
mHandler.postDelayed(stopLater, 1000 * 5);
}

public void onStatusChanged(String provider, int status, Bundle extras) {}
Expand Down

0 comments on commit d23b801

Please sign in to comment.