Enable accelerometer.