title: How to substract the gravity from accelerometer values in React Native Sensors
body: <p>From the API docs</p>
  
  <blockquote>
    <p>It might be interesting to note that the gravity of the earth is not removed from the sensoric values. Dependening on the position of the phone you will need to substract this from the values if you are interested in the raw values.</p>
  </blockquote>
  
  <p>I'm trying to combine react-native-sensors with MaximilianBuegler/node-pedometer but it looks like the data given is not correct for the node-pedometer library, and not sure how to adapt it.
  Just wondering if the gravity values included in the output is the reason.</p>