I have implemented Google - Fused Location Provider. Like below code...
LocationRequest locationrequest = LocationRequest.create();
locationrequest.setPriority(LocationRequest.PRIORITY_LOW_POWER);
LocationListener locationListener = new LocationListener() {
@Override
public void onLocationChanged(Location location) {
sendLocationUpdate(location,this);
locationclient.removeLocationUpdates(locationListener);
locationclient.disconnect();
}
};
locationrequest.setInterval(UPDATE_INTERVAL);
locationclient.requestLocationUpdates(locationrequest, locationListener );
but it still shows as a High battery use app. Can any explain what I am doing wrong.