brightness control and sensorListenerThread