This saves both battery life and prevents accidental screen touches. Accelerometer and gyroscope Accelerometers in mobile phones are used to detect the orientation of the phone. The gyroscope ...