With its emphasis on detecting and adapting to consumer lifestyles, the Galaxy S4 integrates an array of different sensors, including the accelerometer, RGB light, geomagnetic, proximity, gyroscope, barometer, IR gesture and even temperature and humidity varieties.