CPC G06F 3/038 (2013.01) [G06F 3/03545 (2013.01); H02J 50/12 (2016.02); H02J 50/90 (2016.02)] | 13 Claims |
1. An electronic device configured to detect a contact by a peripheral device, the electronic device comprising:
at least one coil configured to interwork with the peripheral device, and
at least one processor configured to detect a contact by the peripheral device and configured to:
detect a first reception signal from the at least one coil during a first period,
apply a first transmission signal to the at least one coil during a second period based on the first period elapsing,
detect a second reception signal from the at least one coil during a third period based on the second period elapsing, and
identify whether the peripheral device is inserted into the electronic device, based on the first reception signal and the second reception signal, and
wherein the first reception signal is not generated by the peripheral device, and the second reception signal is to be generated in response to the peripheral device receiving the first transmission signal.
|