摘要 |
A computer includes a motherboard, a capacitive sensor antenna, a capacitive approach sensor module, and a micro control unit (MCU). The capacitive sensor antenna is used to sense a capacitive signal generated from people adjacent to the computer. The capacitive approach sensor module is used to receive the capacitive signal sensed by the capacitive sensor antenna. The MCU is used to receive the capacitive signal from the capacitive approach sensor module. The MCU outputs a first control signal to a sleep control pin of the motherboard to control the motherboard to enter a sleep state in response to the capacitive signal being less than a predetermined value. The MCU outputs a second control signal to the sleep control pin to control the motherboard to exit from the sleep state in response to the capacitive signal being greater than or equal to the predetermined value. |