CPC G06F 3/0441 (2019.05) [G06F 3/03545 (2013.01); G06F 3/0442 (2019.05); G06F 3/04162 (2019.05); H04B 17/318 (2015.01)] | 15 Claims |
1. An electronic device, comprising:
a communication circuit;
a sensor circuit;
a digitizer panel; and
a processor operatively connected to the communication circuit, the sensor circuit, and the digitizer panel, wherein the processor is configured to:
detect whether an electronic pen is detached from the electronic device via the sensor circuit,
activate the digitizer panel based on detecting detachment of the electronic pen from the electronic device,
identify a state of the electronic pen through a communication linkage with the electronic pen via the communication circuit,
while the electronic pen remains detached from the electronic device, deactivate the activated digitizer panel based on the identified state of the electronic pen,
identify a distance to the electronic pen based on a strength of a communication signal with the electronic pen,
identify whether a movement of the electronic pen is detected for a designated time based on sensor information received from the electronic pen, and
deactivate the activated digitizer panel in case that the identified distance is greater than a predefined threshold distance and the movement of the electronic pen is not detected for the designated time.
|