I am working on googlemaps application,i am using google fusion location provider for finding currentlocation and i am trying requestlocationupdates but the problem i am facing when i am using gps and locationrequest priority HIGH_ACCURACY,my battery is getting drain very fast thats why i wanted to change my locationrequest priority to BALANCED_POWER but without gps i am unable to get latitude and longitude but in google docs they mentioned without gps also it should work please reply
code:
_googleApiClient = new GoogleApiClient.Builder(this)
.addApi(LocationServices.API)
.addConnectionCallbacks(this)
.addOnConnectionFailedListener(this)
.build();
_locationRequest = new LocationRequest();
_locationRequest.setPriority(LocationRequest.PRIORITY_BALANCED_POWER_ACCURACY);
PendingResult<Status> pendingResult = LocationServices.FusedLocationApi.requestLocationUpdates(
_googleApiClient, _locationRequest,this);