Update to GravitySensor.