Proximity Sensor LED turns on automatically

The proximity sensor is enabled and stays enabled all the time if a chat is opened (because of Raise To Speak). The sensor also detects gestures.