the measurement of the g forces is done through an accelerometer