DeviceMotionEventAcceleration
The DeviceMotionEventAcceleration
interface of the Device Orientation Events provides information about the amount of acceleration the device is experiencing along all three axes. Available only in secure contexts.