A laptop keeps track of the date and time, and of some firmware settings, even when it is unplugged and its main battery is removed. That is the job of the real-time clock (RTC) circuit and its small backup battery — still called the "CMOS battery" from the days when settings lived in CMOS memory. The circuit is tiny and simple, yet it causes a surprising range of symptoms when it fails: lost time and settings, error messages at start-up, long first boots, and on some boards a laptop that will not start at all.

What the RTC well does

The RTC lives inside the chipset (or the processor package on highly integrated designs), in a section called the RTC well. It is the one part of the chipset that stays powered at all times. It keeps:

  • the real-time clock — date and time;
  • a small block of memory for firmware settings or flags, depending on the platform;
  • some security and status bits.

To do that it needs a supply that never disappears and a 32.768 kHz crystal. The supply rail is described under rtc rail.

The RTC power circuit

The RTC rail is usually fed from two sources through diodes:

SourceWhen it supplies the RTC rail
Always-on rail (through a diode or regulator)Whenever the adapter or main battery is connected
Coin cell (through a diode and resistor)When nothing else is available

A dual Schottky diode is the classic arrangement: whichever source is higher feeds the rail, and neither can back-feed the other. Some designs add a small regulator or a series resistor to limit current into a rechargeable cell. The coin cell itself is either a standard primary cell in a holder, or — very often on laptops — a small cell with wires and a connector, sometimes rechargeable. The component is described under cmos battery.

RTC reset

The chipset has an RTC reset input (often named RTCRST#, with a secondary SRTCRST# on some platforms). It is held low briefly by an RC network when the RTC rail first appears, so the RTC well starts in a known state. Many boards also have two pads or a jumper on this line: shorting them clears the RTC memory — the "clear CMOS" function.

Clearing it resets the date and time and firmware settings stored in the RTC. On many platforms it also forces the memory to be trained again, so the next start-up takes much longer than usual with a black screen. That delay is normal, as explained in Laptop Memory Errors and Beep Codes: Board-Level Causes.

The RTC crystal

The 32.768 kHz crystal keeps time. If it fails or its load capacitors are damaged, the clock drifts or stops. On some platforms a stopped RTC clock also affects start-up, because the chipset relies on it during its early sequence. A multimeter cannot confirm that a crystal oscillates; an oscilloscope with a suitable probe can, though probing a crystal can itself stop weak oscillation. Crystals in general are covered under crystal.

The RTC in the power sequence

The RTC well is the very first part of the chipset to wake. When the RTC rail appears and RTC reset is released, the chipset's deep-sleep logic can begin its own start-up once the always-on rails arrive. A missing RTC rail, or an RTC reset held low by a shorted capacitor, therefore stops the sequence before the power button is even read on some designs. If the always-on rails are present but the chipset never releases its early signals, check the RTC rail and the RTC reset line before anything more complicated.

Symptoms of RTC problems

SymptomLikely cause
Date and time reset after unpluggingFlat or disconnected coin cell
BIOS settings lost, "CMOS checksum" or similar messageFlat coin cell, RTC reset line problem
Very long first start after unpluggingMemory retraining after RTC loss — normal with a flat cell
Laptop will not start until the coin cell is replacedSome platforms need a valid RTC state to start
Clock runs fast or slowCrystal or its capacitors
Coin cell drains quicklyLeakage on the RTC rail, damaged diode

Measuring the RTC circuit

With all power removed (adapter and main battery disconnected):

  1. Coin cell voltage — measure at its connector. A fresh 3 V lithium coin cell reads a little above 3 V; a cell well below its nominal voltage is weak. Rechargeable cells have different nominal values; check the part.
  2. RTC rail — measure at the chipset side of the diode. It should be close to the coin cell voltage minus a small diode drop.

With the adapter connected:

  1. RTC rail again — now it is usually fed from the always-on rail and may read a little higher than with the coin cell alone.

Then check the diode: in diode mode, each half of the dual diode should conduct in one direction only. A leaky or shorted diode can back-feed the coin cell or drain it. Testing diodes is covered in How to Test a Diode with a Multimeter: Schottky, Zener, TVS and LED.

Checking for drain

If coin cells keep going flat, measure the RTC rail's resistance to ground with all power removed and compare with a known-good board. A much lower value means something is drawing current — corrosion near the chipset's RTC pins, a leaky capacitor or a damaged diode.

Clearing the RTC

To clear the RTC when settings are corrupted or a reset is needed:

  1. Remove the adapter and main battery.
  2. Disconnect the coin cell.
  3. Short the RTC clear pads if the board has them, or simply wait some minutes for the rail to discharge.
  4. Reconnect everything and allow a long first start.

On laptops where the BIOS password is held in the RTC area, this can also clear it — but many modern laptops store passwords in the flash chip or a security chip instead, and clearing the RTC does nothing to them.

Example: laptop only starts after removing the battery

A laptop refuses to start most of the time; it starts only after both batteries have been disconnected for a while. The coin cell measures well below its nominal voltage, and the RTC rail with all power removed is barely above a volt. After a new coin cell is fitted, the RTC rail sits near 3 V. The laptop starts with a long first boot — memory training after the RTC loss — and then reliably every time. The weak cell had left the RTC well in an undefined state that the chipset would not leave.

FAQ

Is the CMOS battery the same as the main battery?

No. It is a small coin cell that keeps the clock and RTC settings alive when everything else is disconnected.

Can a flat CMOS battery stop a laptop starting?

On some platforms, yes. Most laptops still start but lose time and settings.

Why does my laptop take so long to start after replacing the coin cell?

The RTC was reset, so the firmware retrains the memory. Leave it powered for a few minutes.

Can clearing CMOS remove a BIOS password?

Only on older designs that store the password in the RTC area. Most modern laptops keep it elsewhere.

Are laptop coin cells rechargeable?

Some are. Check the part number; a primary cell must not be fitted where the board charges a rechargeable one.

Bottom line

The RTC well keeps time and settings on a coin cell when everything else is off. It needs a steady RTC rail from the coin cell or always-on supply through diodes, a working crystal and a clean RTC reset. Measure the cell and the rail, check the diodes for leakage, and remember that an RTC reset brings a long first boot. A weak coin cell is a cheap fix for some very confusing symptoms.