Patent ID: 11824529

Abstract:
An electronic device according to an embodiment includes a first touch key disposed in a first area of the electronic device, a second touch key disposed in a second area of the electronic device, an antenna, a communication circuit, electrically connected to the antenna, for transmitting or receiving a signal using the antenna, a sensing circuit for sensing an external object corresponding to the electronic device, a frequency adjustment circuit, electrically connected to the antenna, adjusting a resonance frequency of the antenna, and a processor wherein the processor detects the external object using the sensing circuit while communicating with an external device using the communication circuit, in response to detecting the external object, detects an amount of change of capacitance corresponding to the external object using the first touch key or the second touch key. If a first amount of change of capacitance detected through the first touch key is greater than a second amount of change of capacitance detected through the second touch key, the electronic device communicates using the communication circuit wherein the frequency adjustment circuit is designated in a first mode. If the second amount of change of capacitance detected through the second touch key is greater than the second amount of change of capacitance detected through the first touch key, the electronic device communicates using the communication circuit wherein the frequency adjustment circuit is designated in a second mode. In addition, various other embodiments are possible.