title: How does the step-counter from the samsung health app, count the steps?
body: <p>I know that when I want to use any of androids sensors, I have to register them and read their values via onSensorChanged().</p>
  
  <p>If I am done with them, I unregister them to save power.</p>
  
  <p>How come the step-counter in my Galaxy S7s health app is able to count steps? </p>
  
  <p>I assume it's not e.g. the accelerometer, since the high power consumption of the sensor would drain my battery in hours.</p>