Dynamic hibernation time in a computer system
First Claim
1. A method for hibernating a computer, said computer having a hibernation file, a memory, a data storage device and a battery, said battery having a battery capacity, said method comprising the steps of:
- determining the size of said hibernation file;
determining a suitable hibernation energy level required to operate said data storage device until said hibernation file has been saved based on said determined size;
determining when said battery capacity drops to said determined hibernation energy level; and
hibernating said computer when said battery capacity drops to said determined hibernation energy level.
2 Assignments
0 Petitions
Accused Products
Abstract
A dynamic hibernation time apparatus monitors and ensures that battery packs in a computer system have sufficient energy capacity to sustain a proper saving of the hibernation file into the hard disk drive. The invention determines the memory size of the computer and adds the storage space needed to store the chip register contents to arrive at the determination of the hibernation file size. Next, the time necessary to save the hibernation file on the disk data storage device and the hibernation energy required to operate the disk data storage device to completely save the hibernation file are determined. When the battery capacity drops within a range of the previously computed hibernation energy, a warning message is generated at the user and the hibernation file is saved. The computer is shut down after the hibernation file has been properly saved. Thus, by determining the total memory size to be saved in the hibernation file, by determining the time and the energy required to completely store the hibernation file into the disk drive, and by sensing either the battery capacity or requesting that the smart battery sends an alarm to initiate the hibernation file saving process, the present invention ensures that sufficient energy exists in the battery packs to properly save the hibernation file onto the hard disk drive before system shut down occurs due to low battery capacity without wasting energy by determining the set point based on a maximum memory configuration.
122 Citations
19 Claims
-
1. A method for hibernating a computer, said computer having a hibernation file, a memory, a data storage device and a battery, said battery having a battery capacity, said method comprising the steps of:
-
determining the size of said hibernation file; determining a suitable hibernation energy level required to operate said data storage device until said hibernation file has been saved based on said determined size; determining when said battery capacity drops to said determined hibernation energy level; and hibernating said computer when said battery capacity drops to said determined hibernation energy level. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An apparatus for hibernating a computer, said computer having a hibernation file, a memory, a data storage device and a battery, said memory having a memory size, said battery having a battery capacity, said apparatus comprising:
-
a processor coupled to said memory, said data storage device and said battery; a memory analyzer coupled to said hibernation file for determining the size of said hibernation file; a hibernation energy analyzer coupled to said memory analyzer and said processor, said hibernation energy analyzer determining a hibernation energy level required to operate said data storage device until the hibernating process is completed; a battery capacity monitor coupled to said battery and said processor, said battery capacity monitor asserting an output when said battery capacity drops below said hibernation energy level; and a file saver coupled to said hibernation file, said data storage device, said battery capacity monitor and said processor, said file saver writing the content of said hibernation file to said data storage device when said battery capacity monitor output is asserted. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A computer system, comprising:
-
an expansion base unit; and a portable computer coupled to said expansion base unit, said portable computer having a hibernation file, a memory, a data storage device and a battery, said memory having a memory size, said battery having a battery capacity, said portable computer comprising; a processor coupled to said memory, said data storage device and said battery; a memory analyzer coupled to said hibernation file for determining the size of said hibernation file; a hibernation energy analyzer coupled to said memory analyzer and said processor, said hibernation energy analyzer determining a hibernation energy level required to operate said data storage device until the hibernating process is completed; a battery capacity monitor coupled to said battery and said processor, said battery capacity monitor asserting an output when said battery capacity drops below said hibernation energy level; and a file saver coupled to said hibernation file, said data storage device, said battery capacity monitor and said processor, said file saver writing the content of said hibernation file to said data storage device when said battery capacity monitor output is asserted. - View Dependent Claims (15, 16, 17, 18, 19)
-
Specification