Mostcomputershave a smallbattery. In many cases, the battery is soldered directly onto themotherboard, but the battery is usually in some sort of holder so it is easy to replace. Computers are not the only things that have a small battery like this --camcordersanddigital camerasoften have them, too. Just about any gadget that keeps track of thetimewill have a battery.
In your computer (as well as other gadgets), the battery powers a chip called theReal Time Clock (RTC)chip. The RTC is essentially aquartz watchthat runs all the time, whether or not the computer has power. The battery powers this clock. When the computer boots up, part of the process is to query the RTC to get the correct time and date. A little quartz clock like this might run for five to seven years off of a small battery. Then it is time to replace the battery.
Advertisement
This does not explain why your computer would not boot, however. You would expect the computer to boot fine but have an incorrect time and date. The reason your computer would not boot is because the RTC chip also contains 64 (or more)bytesof random access memory (RAM). The clock uses 10 bytes of this space, leaving 54 bytes for other purposes. TheBIOS存储各种信息CMOS RAMarea, like the number offloppyandhard disk drives, the hard disk drive type, etc. If the CMOS RAM loses power, the computer may not know anything about the hard disk configuration of your machine, and therefore it cannot boot.
Many more modern computers are not quite so dependent on the CMOS RAM. They store the settings innon-volatile RAMthat works without any power at all. If the battery goes dead, the clock fails but the computer can still boot using the information in the non-volatile RAM area.
Advertisement