Nonvolatile BIOS memory refers to a small
memory
Memory is the faculty of the mind by which data or information is encoded, stored, and retrieved when needed. It is the retention of information over time for the purpose of influencing future action. If past events could not be remembered ...
on
PC motherboard
A motherboard (also called mainboard, main circuit board, mb, mboard, backplane board, base board, system board, logic board (only in Apple computers) or mobo) is the main printed circuit board (PCB) in general-purpose computers and other expand ...
s that is used to store
BIOS
In computing, BIOS (, ; Basic Input/Output System, also known as the System BIOS, ROM BIOS, BIOS ROM or PC BIOS) is firmware used to provide runtime services for operating systems and programs and to perform hardware initialization during the ...
settings. It is traditionally called CMOS RAM because it uses a
volatile, low-power
complementary metal-oxide-semiconductor (CMOS) SRAM (such as the
Motorola
Motorola, Inc. () was an American multinational telecommunications company based in Schaumburg, Illinois, United States. After having lost $4.3 billion from 2007 to 2009, the company split into two independent public companies, Motorola ...
MC146818 or similar) powered by a small "CMOS" battery when system and standby power is off.
It is referred to as non-volatile memory or
NVRAM
Non-volatile random-access memory (NVRAM) is random-access memory that retains data without applied power. This is in contrast to dynamic random-access memory (DRAM) and static random-access memory (SRAM), which both maintain data only for as lon ...
because, after the system loses power, it does retain state by virtue of the CMOS battery. The typical NVRAM capacity is 256
byte
The byte is a unit of digital information that most commonly consists of eight bits. Historically, the byte was the number of bits used to encode a single character of text in a computer and for this reason it is the smallest addressable unit ...
s.
The CMOS RAM and the real-time clock have been integrated as a part of the
southbridge chipset and it may not be a standalone chip on modern motherboards.
In turn, the southbridge have been integrated into a single
Platform Controller Hub
The Platform Controller Hub (PCH) is a family of Intel's single-chip chipsets, first introduced in 2009. It is the successor to the Intel Hub Architecture, which used two chips - a northbridge and southbridge, and first appeared in the Intel ...
.
Today's
UEFI
UEFI (Unified Extensible Firmware Interface) is a set of specifications written by the UEFI Forum. They define the architecture of the platform firmware used for booting and its interface for interaction with the operating system. Examples ...
motherboards use
NVRAM
Non-volatile random-access memory (NVRAM) is random-access memory that retains data without applied power. This is in contrast to dynamic random-access memory (DRAM) and static random-access memory (SRAM), which both maintain data only for as lon ...
to store configuration data (NVRAM is a part of the UEFI flash ROM), but by many
OEMs' design, the UEFI settings are still lost if the CMOS battery fails.
CMOS battery
The memory battery (aka motherboard, CMOS,
real-time clock
A real-time clock (RTC) is an electronic device (most often in the form of an integrated circuit) that measures the passage of time.
Although the term often refers to the devices in personal computers, servers and embedded systems, RTCs are ...
(RTC), clock battery)
is generally a
CR2032
A button cell, watch battery, or coin battery is a small single-cell battery shaped as a squat cylinder typically in diameter and high — resembling a button. Stainless steel usually forms the bottom body and positive terminal of the cell; i ...
lithium
Lithium (from el, λίθος, lithos, lit=stone) is a chemical element with the symbol Li and atomic number 3. It is a soft, silvery-white alkali metal. Under standard conditions, it is the least dense metal and the least dense solid ...
coin cell
A button cell, watch battery, or coin battery is a small single-cell battery shaped as a squat cylinder typically in diameter and high — resembling a button. Stainless steel usually forms the bottom body and positive terminal of the cell; ...
. This cell battery has an estimated life of 3 years when
power supply unit (PSU) is unplugged or when the PSU power switch is turned off. This battery type, unlike the
Lithium-ion battery
A lithium-ion or Li-ion battery is a type of rechargeable battery which uses the reversible reduction of lithium ions to store energy. It is the predominant battery type used in portable consumer electronics and electric vehicles. It also s ...
, is not rechargeable and trying to do so may result in an explosion. Motherboards have circuitry preventing batteries from being charged and discharged when a motherboard is powered on. Other common battery cell types can last significantly longer or shorter periods, such as the smaller
CR2016
A button cell, watch battery, or coin battery is a small single-cell battery shaped as a squat cylinder typically in diameter and high — resembling a button. Stainless steel usually forms the bottom body and positive terminal of the cell; i ...
which will generally last about 40% less time than CR2032. Higher temperatures and longer power-off time will shorten battery cell life. When replacing the battery cell, the system time and CMOS
BIOS
In computing, BIOS (, ; Basic Input/Output System, also known as the System BIOS, ROM BIOS, BIOS ROM or PC BIOS) is firmware used to provide runtime services for operating systems and programs and to perform hardware initialization during the ...
settings may revert to default values. Unwanted BIOS reset may be avoided by replacing the battery cell with the PSU power switch turned on and plugged into
an electric wall socket. On
ATX motherboards, the PSU will supply 5V standby power to the motherboard to keep CMOS memory energized while the system is off.
Some computer designs have used non-button cell batteries, such as the cylindrical "
1/2 AA" used in the
Power Mac G4
The Power Mac G4 is a series of personal computers designed, manufactured, and sold by Apple Computer from 1999 to 2004 as part of the Power Macintosh line. Built around the PowerPC G4 series of microprocessors, the Power Mac G4 was marketed b ...
as well as some older
IBM PC compatible
IBM PC compatible computers are similar to the original IBM PC, XT, and AT, all from computer giant IBM, that are able to use the same software and expansion cards. Such computers were referred to as PC clones, IBM clones or IBM PC clones ...
s, or a 3-cell
nickel–cadmium (Ni–Cd) CMOS battery that looks like a "
barrel
A barrel or cask is a hollow cylindrical container with a bulging center, longer than it is wide. They are traditionally made of wooden staves and bound by wooden or metal hoops. The word vat is often used for large containers for liquids, ...
" (common in
Amiga
Amiga is a family of personal computers introduced by Commodore International, Commodore in 1985. The original model is one of a number of mid-1980s computers with 16- or 32-bit processors, 256 KB or more of RAM, mouse-based GUIs, and sign ...
and older IBM PC compatibles), which serves the same purpose. These motherboards often have a four pin straight header, with pin 2 missing, for connecting to an external 3.6v battery, such as the Tadiran TL-5242/W, when their soldered-on batteries run out. Ni–Cd batteries have a tendency to leak devastatingly after a period of disuse, damaging components and traces on the circuit board near the battery.
See also
*
Extended System Configuration Data The Extended System Configuration Data (ESCD) is a specification for configuring x86 computers of the ISA PNP era. The specification was developed by Compaq, Intel and Phoenix Technologies. It consists of a method for storing configuration informat ...
(ESCD)
*
List of battery types
This list is a summary of notable electric battery types composed of one or more electrochemical cells. Three lists are provided in the table. The primary (non-rechargeable) and secondary (rechargeable) cell lists are lists of battery chemistry. ...
References
{{Reflist
External links
Definition of CMOS & CMOS BatteriesCMOS memory map (for Bochs PC emulator)CMOS rechargeable Battery 3V Lithium, with cableHow to replace dead CMOS battery and configure BIOS settings(video).
Tutorial: How to replace the CMOS battery in your laptop
BIOS
Motherboard
Non-volatile memory