1. A proximity sensor for a portable wireless connected device, the sensor being arranged to determine whether a part of a user's body is near the portable connected wireless device, the sensor comprising at least one capacitive input electrode, a circuit configured to determine a capacitance of the at least one capacitive input electrode and generate, based on the capacitance, an immediate proximity status flag that becomes active when a part of a user's body is close to the proximity sensor, characterized by an averaging unit configured to generate a running average of the immediate proximity status flag in a predetermined time window, and by a decision unit generating a time-averaged proximity status flag based on an averaged or accumulated value of the immediate proximity status flag in the time window.
|