主权项 |
1. An electronic apparatus, comprising:
a processing unit, executing an operating system; a timer, coupled to the processing unit; and a basic input/output system unit, coupled to the processing unit, wherein when the operating system executed by the processing unit is in a sleep state, and the processing unit receives a wake-up signal, the processing unit extracts a first program code from the basic input/output system unit to execute a wake-up procedure to switch the operating system from the sleep state to a work state, and the processing unit controls the timer to start a first timing procedure, when the processing unit determines that a timing value of the first timing procedure exceeds a first time threshold and the operating system fails to switch from the sleep state to the work state, the processing unit executes a reset procedure through the basic input/output system unit. |