title: HTML5/Javascript calculate device speed using devicemotion/deviceorientation
body: <p>Is it somehow possible to calculate the device speed in km/h using devicemotion/deviceorientation HTML5 API?</p>
  
  <p>I would like to know if a user is walking/running/not moving and I can't use geolocation API as it has to work inside buildings as well.</p>