Patent ID: 8230250

Claim:
A computer having a power saving state control function and a plurality of sleeping modes to be switched directly, the computer comprising: a plurality of power supply assemblies providing a plurality of power supplies to a plurality of elements in the computer; a storage module for storing executing data corresponding to each of the sleeping modes; a power management module for setting the number of power supply assemblies which need to be switched on for each of the sleeping modes; and a control module determining one of the sleeping modes which the computer is switched to according to a received trigger event, when the control module determines the computer to switch from a first sleeping mode of the sleeping modes to a second sleeping mode of the sleeping modes, the control module makes the storage module to store the executing data corresponding to the first sleeping mode and makes the power management module to set the number of the power supply assemblies corresponding to the second sleeping mode to be on and then switching the computer from the first sleeping mode to the second sleeping mode directly.