Patent attributes
An electronic device including an actuator and a driving circuit electrically coupled to the actuator. The driving circuit can be configured to determine a resonance frequency of the actuator and deliver a driving frequency matching the resonance frequency to the actuator, as well as a driving voltage. The electronic device also includes a memory and a processor. The processor can determine the presence of a force applied to the electronic device based on the resonance frequency of the actuator. Based on determining a force is being applied to the electronic device, the processor can execute a predetermined function of the electronic device.

