Patent ID: 8255712

Claim:
A computing device, comprising: a front panel comprising a protection switch and a power button; and a motherboard being connected to the front panel, the motherboard comprising a power protection unit stored in a storage system, the power protection unit comprising: a simulation icon generating module operable to display a power-on simulation icon and a power-off simulation icon on a display screen when the power button is pressed, wherein the power button is enabled when the power-on simulation icon is selected, and the power button is disabled when the power-off simulation icon is selected; and a protection switch controlling module operable to control a general-purpose input/output (GPIO) pin of the motherboard to output a first voltage level to the protection switch when the power-off simulation icon is selected and shut off the protection switch to disable the power button according to the first voltage level, and control the GPIO pin to output a second voltage level to the protection switch when the power-on simulation icon is selected and turn on the protection switch to enable the power button according to the second voltage level.