- #1
Tech2025
- 48
- 7
I know the CMOS battery keeps the time and BIOS settings , but what is powered by the batter to keep time? A crystal oscillator? And why is it so crucial to keep time on a regular desktop computer?
Don't you want to be able to figure out when your files were created? How about if you have the same file on two different storage media and you update one of the version and later forget which one you updated. Wouldn't you like to be able to look at a file date to see which one is more recent?Tech2025 said:I know the CMOS battery keeps the time and BIOS settings , but what is powered by the batter to keep time? A crystal oscillator? And why is it so crucial to keep time on a regular desktop computer?
Oh, gawd, am I having a bad DOS flashback? Was that a thing?jedishrfu said:Users don’t like to enter the current date and time each time the computer is turned on. Also there are some system settings that may need to be stored in a cache and so the battery keeps them safe as well.
No, DOS kept time just like modern computers do. It's always been in the hardware/BIOS, not the O.S.russ_watters said:Oh, gawd, am I having a bad DOS flashback? Was that a thing?
A laptop that's away from WiFi would really like to know what time it is. It's hardly a big power overhead. My watch battery lasts for years and it's only as big as a couple of small coins.jtbell said:Surely a computer that's connected to the Internet doesn't need to save the time locally when powered off.
Certainly; but when it isn't connected to the internet it still has the same timekeeping needs.jtbell said:Surely a computer that's connected to the Internet doesn't need to save the time locally when powered off. It can grab the time from a network time server when it boots up, right? That's what MacOS does by default.
From the IBM-AT onward, but not at first. The original 5150 PC didn't have a real time clock (neither did the PC-XT and 3270 PC, IIRC), and it was necessary to add DATE and TIME commands in the AUTOEXEC.BAT to remind the user to set the date and time.phinds said:No, DOS kept time just like modern computers do. It's always been in the hardware/BIOS, not the O.S.
Yes, but not so bad a thing as as forgetting to PARK the hard drive before powering down ;)russ_watters said:Oh, gawd, am I having a bad DOS flashback? Was that a thing?
That reminds me of my 'intellectually challenged' telescope mount which has no clock in it. The time is of great importance when looking for a celestial object but whenever I set up the mount, it asks me the time. It remembers the last date I used it but that's almost worse than nothing.russ_watters said:Certainly; but when it isn't connected to the internet it still has the same timekeeping needs.
Except when you have a watch made in chinasophiecentaur said:A laptop that's away from WiFi would really like to know what time it is. It's hardly a big power overhead. My watch battery lasts for years and it's only as big as a couple of small coins.
You must have had a bad experience?Suyash Singh said:Except when you have a watch made in china
China is famous for defected pieces and duplicates!sophiecentaur said:You must have had a bad experience?
Are batteries for your watch difficult to get hold of?
That just could be true --- commiserations.Suyash Singh said:Or maybe the Chinese just sell all their waste in India
That is not a high risk part but I would think twice if it was a brake calliper or suspension arm. Counterfeit stuff is a real worry and the source can so far away that there's no possible sanction. They can re-name the original supplier and be back in business in no time.CWatters said:a whole new carb
I think most of us simply never bothered entering the date and time. I had a pretty set routine of power tower, power monitor, then press enter twice to get to the prompt. I'm not sure I ever literally gave my 8088 the correct date/time.jedishrfu said:Users don’t like to enter the current date and time each time the computer is turned on. Also there are some system settings that may need to be stored in a cache and so the battery keeps them safe as well.
Computers use a small battery-powered component called the CMOS (Complementary Metal-Oxide Semiconductor) clock to keep track of time even when the power is turned off. This clock is powered by a small battery that can last for several years.
The CMOS clock uses a quartz crystal oscillator to keep time. This crystal vibrates at a steady frequency when an electric current is passed through it. The computer counts these vibrations and converts them into seconds, minutes, hours, and so on.
If the CMOS battery dies, the computer will lose track of time and will reset its clock to a default date and time. This can cause issues with certain programs that rely on accurate time, such as security software or online banking applications.
CMOS batteries typically last between 3 to 5 years, but this can vary depending on the type and quality of the battery, as well as the usage of the computer. It is recommended to replace the battery every 3 years to ensure accurate timekeeping.
Yes, the CMOS clock can be manually adjusted by accessing the computer's BIOS (Basic Input/Output System) settings. However, it is important to note that manually changing the clock can cause issues with certain programs that rely on accurate time, so it is best to let the clock sync automatically with internet time servers.