pub fn stop() -> Result<(), JsValue>
Stops the accelerometer.
Returns JsValue if the underlying JavaScript call fails or the sensor is unavailable.
JsValue
stop()?;