CPC G06F 1/3231 (2013.01) [H01Q 1/243 (2013.01); H03K 17/955 (2013.01); H04W 52/0254 (2013.01); G06F 1/3234 (2013.01); H01Q 1/52 (2013.01)] | 20 Claims |
1. An electronic device comprising:
an antenna circuit including an antenna;
a first capacitor;
a sensor;
a switch configured to selectively connect. either the first capacitor or the antenna circuit to the sensor:
memory storing instructions; and
at least one processor,
wherein the instructions. when executed by the at least one processor, cause the electronic device to:
control the switch to connect the first capacitor and the sensor, based on start of booting of the electronic device,
determine a value of the sensor for determining whether a user grips at least a portion of the electronic device, based on connection of the first capacitor and the sensor, and
control the switch to disconnect the first capacitor and the sensor and connect the antenna circuit and the sensor, based on the determination of the initialvalue of the sensor.
|