Expose the GravitySensor API, which provides a 3-axis reading of the gravity force, to users.
A gravity sensor is used to measure the force of gravity around the x, y, z axes. As https://crbug.com/1163993 states, it is already possible for users to manually derive readings close to a GravitySensor’s by manually inspecting an Accelerometer and a LinearAccelerometer’s readings, but this can be cumbersome and depend on the accuracy of the values provided by those sensors. Platforms such as Android can provide gravity readings as part of the platform, which should be cheaper in terms of computation, provide more accurate values depending on the user’s hardware and easier to use in terms of API ergonomics.
Unknown standards status - check spec link for status
Status in Chromium
Enabled by default
Consensus & Standardization
Intent to Prototype urlIntent to Prototype thread
Search tagssensors, gravity, fugu,
Last updated on 2021-12-13