Why does my computer need a battery?

A laptop charging cable
Computers are usually made with a small battery. Kinga Krzeminska / Getty Images

Most computers have a small battery. In many cases, the battery is soldered directly onto the motherboard, 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 -- camcorders and digital cameras often have them, too. Just about any gadget that keeps track of the time will have a battery.

In your computer (as well as other gadgets), the battery powers a chip called the Real Time Clock (RTC) chip. The RTC is essentially a quartz watch that 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) bytes of random access memory (RAM). The clock uses 10 bytes of this space, leaving 54 bytes for other purposes. The BIOS stores all sorts of information in the CMOS RAM area, like the number of floppy and hard 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 in non-volatile RAM that 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

Frequently Answered Questions

What is the use of battery in CPU?
A battery is used in a CPU to provide power to the CMOS chip, which stores information such as the system time and date, BIOS settings, and hardware configuration information. The CMOS chip requires a small amount of power to maintain its data, even when the computer is turned off.
What happens if I remove CMOS battery?
If you remove the CMOS battery, the settings will be reset to default. This means the BIOS password, date, time, and other custom settings will reset to defaults.

Advertisement

Loading...