An RTC battery helps an electronic device maintain its date and time when its main power source is switched off. It supplies a small amount of backup power to the real-time clock (RTC), allowing the clock to continue operating while the computer or device is disconnected from its normal power supply.
You may find an RTC battery inside desktop computers, laptops, industrial controllers, embedded systems, and single-board computers. Its appearance and specifications vary by device. Some systems use a small coin cell, while others have a wired battery assembly or a rechargeable backup cell.
Understanding how an RTC battery works makes it easier to recognize clock-related problems, identify the correct replacement, and avoid confusing a backup battery issue with a larger hardware fault.
What Is an RTC Battery?
RTC stands for Real-Time Clock. It is a hardware component that keeps track of the current time and date, including seconds, minutes, hours, days, months, and years.
An RTC battery is the backup power source that allows this clock to continue keeping time when the device’s main power is unavailable.
For example, when you shut down a desktop computer and unplug it from the wall, the processor and most other components stop operating. The RTC still needs a small power supply if the system is expected to retain the correct time. The backup battery provides that power.
The RTC battery does not run the entire computer. It supports a specific low-power function rather than supplying energy to the CPU, display, storage drive, or other major components.
What Does an RTC Battery Do?
The main purpose of an RTC battery is to preserve timekeeping during a loss of normal power. However, the exact functions supported by the backup power circuit depend on the device.
1. Maintains the System Date and Time
The most important job of an RTC battery is to keep the hardware clock running while the device is switched off.
Without an available backup power source, some systems may lose their stored clock information when the main supply is disconnected. The date and time may then need to be set again when the device starts.
2. Supports Firmware Timekeeping
Computers use firmware, such as BIOS or UEFI, during the startup process. The system clock can provide time information to the firmware and operating system.
On some computer designs, the same backup-power arrangement also helps retain certain firmware settings. This is why a weak battery can sometimes be associated with lost configuration settings as well as an incorrect clock.
However, not every system stores firmware settings in the same way. Modern devices may use nonvolatile memory that does not depend on the RTC battery.
3. Helps Time-Dependent Functions Work
An accurate hardware clock is useful for more than displaying the correct time.
It can support functions such as:
- Recording accurate timestamps.
- Scheduling time-based operations.
- Maintaining dates in system logs.
- Supporting alarms or scheduled wake-up functions on compatible hardware.
- Providing a time reference during startup.
The RTC itself performs the timekeeping. The battery simply helps it continue operating when the main power source is unavailable.
How Does an RTC Battery Work?
An RTC circuit is designed to consume very little power when the main device is switched off. When normal power is available, the system can operate using its regular power supply.
When that supply is removed, a power-management circuit can switch the RTC to its backup source. The battery then provides the energy required by the clock and its associated low-power circuitry.
The process can be understood in three stages:
- Normal operation: The device receives power from its main supply, and the RTC operates as part of the system.
- Power interruption: The main supply is removed or disconnected.
- Backup operation: The RTC uses the backup source to preserve timekeeping, provided the battery or backup circuit is functional.
The backup battery does not need to power the full motherboard. This low-power design is what allows a relatively small battery to support the clock for an extended period.
The exact design differs between devices. Some RTC circuits use a battery, while others can use a supercapacitor or another backup-power arrangement. The NXP real-time clock documentation explains how backup sources are selected according to power requirements, operating conditions, and the required retention period.
Where Is an RTC Battery Used?
RTC backup power is found in many types of electronic equipment. The battery format and replacement procedure depend on the manufacturer and hardware design.
Desktop Computers
Many desktop motherboards use a removable coin-cell battery to support the RTC. A CR2032 is common, but it should not be treated as a universal replacement for every motherboard.
If the battery becomes weak, the computer may lose its date and time after being disconnected from external power. Some systems may also lose certain firmware settings.
Laptops
Laptop RTC batteries can look different from desktop motherboard batteries. Some models use a small coin cell, while others have a wrapped battery connected through a cable and plug.
The RTC battery may be located beneath the bottom cover, near the motherboard, or in another position specified by the service manual.
A laptop’s RTC battery is separate from its main rechargeable battery. Replacing the main battery will not necessarily resolve an RTC-related clock problem.
Single-Board Computers
Some single-board computers include a hardware RTC but require an optional backup battery to maintain time while disconnected from power.
The Raspberry Pi 5 is one example. It includes an RTC and has a dedicated J5 battery connector. Its official backup battery is a rechargeable lithium-manganese coin cell with a pre-fitted connector.
The board can still use its RTC without a backup battery when it has normal power. The battery is intended to maintain time when the board’s main power is disconnected.
See the dedicated guide to the Raspberry Pi 5 RTC battery and its setup.
Industrial Controllers and Embedded Systems
Industrial equipment may use an RTC to maintain timestamps, schedules, and time-dependent control functions.
Some controllers include a replaceable battery and a battery-status indicator. Others use a different backup arrangement.
The required battery type, expected backup period, and replacement procedure must be taken from the equipment manufacturer’s documentation. Industrial battery specifications should never be copied from a desktop computer without checking compatibility.
What Types of RTC Batteries Are Available?
There is no single battery format used in every RTC circuit. The correct type depends on the device’s electrical design.
| RTC backup type | Typical use | Important consideration |
|---|---|---|
| Coin-cell battery | Desktop PCs and some compact devices | Match the specified chemistry, voltage, and size |
| Wired RTC battery | Many laptop designs | Connector, polarity, cable, and dimensions must match |
| Rechargeable coin cell | Compatible systems such as Raspberry Pi 5 | Must be designed for the device’s charging circuit |
| Supercapacitor | Selected embedded and electronic systems | Retention time depends on capacitance and circuit design |
Coin-Cell RTC Batteries
Coin cells are compact, round batteries that fit into a holder or battery assembly. Desktop computers commonly use a CR2032, but other models and formats exist.
A primary lithium coin cell is generally not rechargeable. If it is depleted, it should be replaced with the correct specified battery rather than connected to a charging circuit.
Wired RTC Batteries
Some laptops and compact computers use a battery wrapped in insulation and connected to the motherboard through a small plug.
These assemblies may look similar but can have different connectors, wiring arrangements, voltage ratings, and dimensions. A battery should not be selected by appearance alone.
Rechargeable RTC Batteries
Certain devices are designed to use rechargeable backup cells. Their charging circuit and battery chemistry must be compatible.
The Raspberry Pi 5, for example, uses a rechargeable lithium-manganese RTC battery. Raspberry Pi specifically advises against using a primary non-rechargeable lithium cell or a lithium-ion cell for this purpose. Always follow the device manufacturer’s battery recommendations.
Supercapacitor Backup
Some RTC designs use a supercapacitor instead of a conventional battery. A supercapacitor stores electrical energy and can supply backup power for a limited period.
Its retention time depends on its capacity, the RTC’s current consumption, and the circuit design. It is not interchangeable with a coin cell unless the device was specifically designed for it.
RTC Battery vs. CMOS Battery: Are They the Same?
The terms RTC battery and CMOS battery are often used interchangeably, particularly when discussing desktop computers. They are related, but the terms describe different aspects of the system.
An RTC battery provides backup power for the real-time clock. The traditional term CMOS battery comes from older computer designs in which a small battery-supported CMOS memory held system configuration information.
Modern computers use different firmware and memory arrangements. As a result, the battery’s role may be limited mainly to RTC backup rather than retaining all BIOS or UEFI settings.
| Feature | RTC battery | Traditional CMOS battery terminology |
|---|---|---|
| Main association | Real-time clock backup | Battery supporting clock and CMOS configuration memory |
| Main purpose | Preserve timekeeping without main power | Historically supported clock and certain configuration data |
| Modern usage | Common technical term | Still widely used in computer troubleshooting |
| Hardware design | Depends on the RTC circuit | Depends on the motherboard and firmware design |
For practical troubleshooting, the important point is to identify what the battery supports in the specific device rather than relying only on its name.
How Long Does an RTC Battery Last?
RTC battery life varies by battery type, device design, operating temperature, power consumption, and how the equipment is used.
A coin cell in one desktop motherboard may have a different service life from a wired battery in a laptop or a rechargeable backup cell in an embedded device. There is no single replacement interval that applies to every RTC battery.
A device that remains connected to external power for most of its life may place different demands on its backup source than equipment that is frequently disconnected.
Industrial systems can also have manufacturer-defined backup-life specifications. For example, some controller manuals provide expected backup periods under specific temperature and operating conditions. Those figures should be applied only to the stated equipment.
Instead of replacing an RTC battery according to an assumed universal schedule, monitor the device for symptoms and follow its maintenance documentation.
What Happens When an RTC Battery Becomes Weak?
A weak RTC battery may stop supplying enough backup power to maintain the clock when the main supply is removed.
Depending on the device, you may notice:
- The system date or time resets after shutdown.
- The clock becomes incorrect after the device is disconnected from power.
- Certain firmware settings are no longer retained.
- An RTC, CMOS, or battery-related warning appears during startup.
- A device loses its time reference after a power interruption.
These symptoms are clues, not automatic proof of battery failure. Incorrect operating-system time settings, firmware problems, damaged battery contacts, and faults in the RTC circuit can produce similar behavior.
For a focused explanation of the warning signs, read what can indicate that an RTC battery is failing.
How to Check an RTC Battery
The right testing method depends on whether the battery is removable, wired, rechargeable, or integrated into the device.
Step 1: Observe the Clock Behavior
Check whether the device keeps the correct date and time while connected to its normal power source.
Then observe whether the clock becomes incorrect after the device is fully shut down and disconnected from power. A repeatable connection between power loss and clock reset can help identify a backup-power problem.
Step 2: Check the Operating-System Time Settings
If the clock is incorrect only inside the operating system, review the time zone and automatic time synchronization settings.
A software synchronization problem does not necessarily mean the RTC battery is weak.
Step 3: Check Firmware Information
On a desktop or laptop, enter the BIOS or UEFI setup using the manufacturer’s instructions.
Check the displayed date and time. If the firmware clock is already incorrect before the operating system loads, the problem may be related to the RTC or its backup source.
Step 4: Identify the Battery Specification
Before opening the device, find its exact model number and consult the official service manual.
Confirm the battery chemistry, voltage, connector, polarity, and physical dimensions. A battery that fits into the holder is not automatically electrically compatible.
Step 5: Test or Replace Only When Appropriate
A multimeter may help check the voltage of a removable battery, but an open-circuit reading alone cannot confirm that the battery performs correctly under load.
If the battery is soldered, difficult to access, rechargeable, or connected through a specialized assembly, use the manufacturer’s service procedure or seek professional help.
Common RTC Battery Replacement Mistakes
Replacing an RTC battery without checking the device specification can create additional problems.
Avoid these mistakes:
- Assuming every device uses a CR2032: Laptop and embedded systems may use different battery assemblies.
- Ignoring battery chemistry: A rechargeable circuit must not be paired with an incompatible primary cell.
- Overlooking connector polarity: Wired batteries must match the specified wiring and connector arrangement.
- Forcing a battery into its holder: A damaged holder can prevent proper electrical contact.
- Assuming the battery is always responsible: A faulty RTC circuit or motherboard can produce similar symptoms.
- Following generic instructions for every model: Laptop disassembly and battery replacement procedures differ significantly.
The safest approach is to confirm the exact replacement part and follow the manufacturer’s instructions.
Frequently Asked Questions
Does an RTC battery power the whole computer?
No. It supplies backup power to the real-time clock and any other functions specifically supported by the device’s backup circuit. It does not power the CPU, screen, storage drive, or the entire motherboard during normal operation.
Is an RTC battery the same as a laptop battery?
No. The main laptop battery supplies operating power when the laptop is not connected to its charger. The RTC battery supports timekeeping when normal power is unavailable.
Can a computer work without an RTC battery?
Many computers can still start and operate without an RTC battery, but they may lose the correct date and time after power is removed. The exact behavior depends on the system design.
Does every motherboard use a CR2032 battery?
No. CR2032 is common on desktop motherboards, but some systems use different coin cells, wired battery assemblies, rechargeable cells, or another backup-power design.
Can an RTC battery be recharged?
It depends on the battery chemistry and the device. Many common primary lithium coin cells are not rechargeable. Only recharge a backup battery when the manufacturer explicitly specifies a compatible rechargeable type and charging arrangement.
Will replacing an RTC battery delete my files?
Replacing an RTC battery does not normally erase files stored on an SSD or hard drive. However, some firmware settings may reset, and you may need to restore the date, time, or other configuration options.
Final Thoughts
An RTC battery is a small component with an important job: keeping a device’s hardware clock running when its normal power source is unavailable. It is used in computers, laptops, single-board computers, and industrial equipment, but its design is not the same across all devices.
If a clock repeatedly resets after power loss, check the operating-system settings, firmware clock, and manufacturer documentation before replacing anything. Confirm the correct battery specification and use a compatible backup source. If the problem continues after a correct replacement, the RTC circuit or motherboard may need further diagnosis.
