For simplicity, the same symbol or label is used for the same element for the description of a preferred embodiment of a power management method in accordance with the present invention.
Referring to
Step S11: Activate a firmware control program after the computer idles in a standby mode more than a predetermined time;
Step S12: Store a system state data contained in a first storage device of the computer to a second storage device through the firmware control program;
Step S13: Power off the first storage device and the second storage device;
Step S14: Terminate the firmware control program;
Step S15: Activate the firmware control program after a trigger signal is received;
Step S16: Power on the first storage device and the second storage device;
Step S17: Save a system state data of the second storage device into the first storage device through the firmware control program; and
Step S18: Activate an operating system of the computer to resume the computer to a normal operating state.
The aforementioned standby mode is a S3 power management mode; the aforementioned firmware control program is a basic input/output system (BIOS); and the aforementioned second storage device is a nonvolatile storage device.
Referring to
Step S21: Receive a trigger signal for entering a computer into a standby mode;
Step S22: A kernel driver finds out the using physical memory;
Step S23: The kernel driver provides a list for memories used in the basic input/output system;
Step S24: The kernel driver informs the memory block of the using memory in the basic input/output system;
Step S25: The operating system gives the control right to the basic input/output system;
Step S26: The basic input/output system informs a keyboard controller to turn on a standby mode timer; and
Step S27: The computer enters into a standby mode.
Referring to
Step S31: Generate an overtime condition of a standby mode timer;
Step S32: Activate a basic input/output system;
Step S33: The basic input/output system activates and initializes a nonvolatile storage device;
Step S34: The basic input/output system saves a system state data contained in a physical memory into a nonvolatile storage device according to a memory list;
Step S35: The basic input/output system turns off the nonvolatile storage device, memory module and memory controller; and
Step S36: The keyboard controller turns off the basic input/output system.
Referring to
Step S41: The keyboard controller activates the basic input/output system;
Step S42: The basic input/output system activates the nonvolatile storage device, memory controller and memory module;
Step S43: The basic input/output system reads a system state data previously stored in the volatile storage device and stores the data into the corresponding physical memory;
Step S44: The basic input/output system returns the control right to the operating system; and
Step S45: The computer resumes a normal operating state.
Referring to
While the invention has been described by way of example and in terms of a preferred embodiment, it is to be understood that the invention is not limited thereto. To the contrary, it is intended to cover various modifications and similar arrangements and procedures, and the scope of the appended claims therefore should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements and procedures.