Patent ID: 7529952

Claim:
A computer platform system power state management method for use on a computer platform of the type having a startup control unit with a System Management Interrupt handling mechanism and an input/output control unit, where the input/output control unit includes a power-restoration state flag whose value is used to represent a particular system power state in power-on mode and a particular system power state in shut-off mode, for the purpose of providing the computer platform with a system power state management function after an event of a power interruption on the computer platform; the computer platform system power state management method comprising: responding to a power-restoration event that occurs after an event of a power interruption on the computer platform by performing a power-on mode setting procedure for setting the internal power-restoration state flag of the input/output control unit to a power-on mode value; responding to a power-button pressing event by performing a power-button pressing event handling procedure via the startup control unit's System Management Interrupt handling mechanism for setting the power-restoration state flag of the input/output control unit to a shut-off mode value; and responding to a sleep-type enabling event by performing a sleep-type enabling event handling procedure via the startup control unit's System Management Interrupt handling mechanism for setting the internal power-restoration state flag of the input/output control unit to a shut-off mode value, and setting the computer platform to a system power state based on a current sleep-mode value stored in a sleep-type register.