[SOLVED] A way to know if the CMOS battery is installed without opening the case?
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
A way to know if the CMOS battery is installed without opening the case?
Hi: that is, the machine case. To see by myself I changed the BIOS settings to some arbitrary values, turned off the machine, then turned it on. And the new values persisted. Can I safely infer that the battery is there?
if the new settings persisted, then it's a fair bet, that the battery is intact ..
- if it was not, - you would lose those settings, when the PC is left for a while, with no power.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Another way to tell is that the battery is needed to keep the clock running so if you're not using ntp and your clock shows the right time after the machine has been switched off for a while the battery must be there.
Yes, it's some minutes now since I turned it off. I'll see now what happened. If the time is OK, the I shall have to open it, because some files are being listed with incredible times.
Still worried about cracking open the case? Its quite often the fastest and easiest method.....
Even if the CMOS battery is dead/missing, if you leave the power supply plugged in the system can keep its settings. The only way to know if the CMOS battery is dead/missing without opening the case is to turn the machine off then unplug the power supply.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Quote:
Originally Posted by cascade9
Still worried about cracking open the case? Its quite often the fastest and easiest method.....
Even if the CMOS battery is dead/missing, if you leave the power supply plugged in the system can keep its settings. The only way to know if the CMOS battery is dead/missing without opening the case is to turn the machine off then unplug the power supply.
I'd forgotten about this. As you say the easiest way is simply to open the case.
Add to what cascade9 has stated; once system is unplugged it may take some time lapse for the decay therefore without shorting the CMOS shorting jumper it may take a while before BIOS reverts/changes state.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Quote:
Originally Posted by onebuck
Hi,
Add to what cascade9 has stated; once system is unplugged it may take some time lapse for the decay therefore without shorting the CMOS shorting jumper it may take a while before BIOS reverts/changes state.
Presumably the clock will stop ticking fairly soon after the power is taken away though?
Still worried about cracking open the case? Its quite often the fastest and easiest method.....
Even if the CMOS battery is dead/missing, if you leave the power supply plugged in the system can keep its settings. The only way to know if the CMOS battery is dead/missing without opening the case is to turn the machine off then unplug the power supply.
So it's not enough to press the power on/off switch. You must unplug the power cord! So pressing the switch to turn it off the machine is still draining current from the mains! Well, if you can turn on the machine only by pressing a soft touch button then some part of the machine has to remain energized. Oh happy times when you just lifted a lever and all power to tha machine was off!
Quote:
From onebuck:
Add to what cascade9 has stated; once system is unplugged it may take some time lapse for the decay therefore without shorting the CMOS shorting jumper it may take a while before BIOS reverts/changes state.
I had been thinking about that. But did not know the power supply remained on.
__________________
So it's not enough to press the power on/off switch. You must unplug the power cord! So pressing the switch to turn it off the machine is still draining current from the mains! Well, if you can turn on the machine only by pressing a soft touch button then some part of the machine has to remain energized. Oh happy times when you just lifted a lever and all power to tha machine was off!
Quote:
excerpt from CMOS Battery;
The memory and real-time clock are generally powered by a CR2032lithiumcoin cell. These cells last two to ten years, depending on the type of motherboard, ambient temperature and the length of time that the system is powered off, while other common cell types can last significantly longer or shorter periods, such as the CR2016 which will generally last about 40% less than CR2032. Higher temperatures and longer power-off time will shorten cell life. When replacing the cell, the system time and CMOS BIOS settings may revert to default values. This may be avoided by replacing the cell with the power supply master switch on. On ATX motherboards, this will supply 5V power to the motherboard even if it is apparently "switched off", and keep the CMOS memory energized. In general one should not work on a computer that is powered.
Some computer designs have used non-button cell batteries, such as the cylindrical "1/2 AA" used in the Power Mac G4 as well as some older IBM PC compatibles, or a 3-cell NiCd CMOS battery that looks like a "barrel" (common in Amigas and older IBM PC compatibles), which serves the same purpose.
Yes most systems can boot without a CMOS battery Habitual. I dotn think I've run acrross a x86 system that wont boot without a CMOS battery, but I dont go around remvoing them to check
Quote:
Originally Posted by onebuck
Please note the ATX reference above.
I should have said 'ATX only' in my post, but I figured that the last AT systems I saw had P2/Celeron CPUs, and I havent seen any new AT systems since 1999/2000 or so.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
I've come across a few systems with dead CMOS batteries that have booted and a more recent machine (from between 5 and 10 years ago) that complained in its POST that the battery was low but still booted.
Yes most systems can boot without a CMOS battery Habitual. I dotn think I've run acrross a x86 system that wont boot without a CMOS battery, but I dont go around remvoing them to check
I should have said 'ATX only' in my post, but I figured that the last AT systems I saw had P2/Celeron CPUs, and I havent seen any new AT systems since 1999/2000 or so.
I added the info to clarify things to the thread.
Just small footprint motherboards/SBC. If the BIOS itself is faulty then booting could be an issue.Usually BIOS does default to original state so a boot would be possible if the storage media is default boot device once power is applied.
I once experimented by removing power from motherboard and waited a few days to see if the BIOS settings changed. Machine booted with original settings so decay would depend on the capacitor retention and battery condition. I usually replace the battery if it's possible issue since the cost is minimal and not worth wasting time. Purchase the batteries in lots so the cost to clients is minimal.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.