code: def stop(cls):
          
          manager = LocationManager.instance()
          if manager:
              for l in manager.listeners:
                  manager.removeUpdates(l)
              manager.listeners = []
docs: Stops location updates if currently updating.