Patent attributes
A system and method for detecting donning and doffing of an electronic device includes a capacitive sensor configured to generate a capacitance signal based on a capacitance measured by the sensor. The method also includes generating an average capacitance signal by averaging the capacitance signal over a period of time, and generating an intermediate signal based on a difference between the capacitance signal and the average capacitance signal. The method also includes generating a don or doff signal and setting the average capacitance signal to be equal to the capacitance signal when the don or doff signal is generated. The don signal is generated subsequent to the electronic device changing state from a doffed state to a donned state. The doff signal is generated subsequent to the electronic device changing state from a donned state to a doffed state.