docs: public void stop() {
      if (accelerometer != null) {
        queue.clear();
        sensorManager.unregisterListener(this, accelerometer);
        sensorManager = null;
        accelerometer = null;
      }
    }