CPC G06F 1/24 (2013.01) [G06F 1/163 (2013.01); G06F 1/263 (2013.01); G06F 1/3228 (2013.01)] | 15 Claims |
1. An electronic device comprising:
a connection circuit configured to provide an electrical connection to an external power supply device;
a processor electrically connected to the connection circuit;
a memory operatively connected to the processor; and
a reset circuit electrically connected to the connection circuit and operatively connected to the processor,
wherein the processor is configured to:
identify a connection to an external power supply based on receiving a voltage through the connection circuit; and
transmit, to the reset circuit, an interrupt signal for a first time interval at least partially based on the identification of the connection to the external power supply device through the connection circuit, and
the reset circuit is configured to:
determine whether the interrupt signal is received from the processor within a second time interval after the connection to the external power supply device through the connection circuit, wherein the second time interval is equal to or longer than the first time interval; and
transmit, to the processor, a reset signal for a hardware reset of the processor based on the interrupt signal not being received within the second time interval from the processor.
|