DIS and shock detection with built-in gyro sensor