LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-01-2013, 06:18 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
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?
 
Old 06-01-2013, 06:27 AM   #2
pierre2
Member
 
Registered: May 2009
Location: Perth, AU
Distribution: LinuxMint
Posts: 388
Blog Entries: 9

Rep: Reputation: 88
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.
 
Old 06-01-2013, 06:29 AM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
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.
 
Old 06-01-2013, 06:40 AM   #4
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
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.
 
Old 06-01-2013, 08:12 AM   #5
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
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.
 
1 members found this post helpful.
Old 06-01-2013, 08:15 AM   #6
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by cascade9 View Post
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.
 
Old 06-01-2013, 09:27 AM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member Response

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.
 
Old 06-01-2013, 09:28 AM   #8
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by onebuck View Post
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?
 
Old 06-01-2013, 09:50 AM   #9
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by cascade9 View Post
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.
__________________

Last edited by stf92; 06-01-2013 at 09:54 AM.
 
Old 06-01-2013, 09:56 AM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member Response

Hi,

Quote:
Originally Posted by stf92 View Post
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 CR2032 lithium coin 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.
Please note the ATX reference above.
 
Old 06-01-2013, 10:02 AM   #11
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Well, you've finally made to open the case. The battery is certainly there. If it is dead or not is another matter.

EDIT: sorry. I did not refresh the screen and didn't see your post, onebuck. Thanks for the reference, though I already knew the article.

Last edited by stf92; 06-01-2013 at 10:08 AM.
 
Old 06-05-2013, 06:53 AM   #12
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Can a pc even boot without one?
 
Old 06-05-2013, 07:20 AM   #13
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
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 View Post
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.
 
Old 06-05-2013, 07:25 AM   #14
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
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.
 
Old 06-05-2013, 09:03 AM   #15
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member Response

Hi,
Quote:
Originally Posted by cascade9 View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Does a low CMOS battery cause Kernel panic? Dman58 Linux - Desktop 24 12-09-2012 07:46 PM
[SOLVED] Nominal value of CMOS battery voltage. stf92 Linux - Hardware 4 08-23-2011 09:24 PM
Ruling in/out a CMOS battery problem moxieman99 General 6 08-24-2009 11:31 PM
CMOS laptop battery question cellist Linux - Hardware 2 05-04-2005 07:45 AM
CMOS battery is dead -- preventing me from installing H'bert Linux - Hardware 10 06-12-2004 01:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration