To stop receiving updates, call the removeLocationUpdates() method.


@Override
protected void onPause() {
    super.onPause();
    mIALocationManager.removeLocationUpdates(mIALocationListener);
}


When you are done with the location service, destroy the instance of IALocationManager to release the allocated resources.


@Override
protected void onDestroy() {
    mIALocationManager.destroy();
    super.onDestroy();
}