# Computer Time - God is in my Machine?

**URL:** <https://boards.straightdope.com/t/computer-time-god-is-in-my-machine/112449>\
**Category:** Factual Questions\
**Created:** [June 5, 2002, 4:56am UTC](https://boards.straightdope.com/t/computer-time-god-is-in-my-machine/112449 "2002-06-05T04:56:22Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fiddle\_Peghead](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/fiddle_peghead/32/3506_2.png) [@Fiddle\_Peghead](https://boards.straightdope.com/u/Fiddle_Peghead)\
**Post date:** [June 5, 2002, 4:56am UTC](https://boards.straightdope.com/t/computer-time-god-is-in-my-machine/112449/1 "2002-06-05T04:56:22Z")

</div>

On Sunday morning, I brought my girlfriend’s computer to my apartment, and set it up Monday evening. But, the time in the lower right hand corner was correct!!! How did this happen?

I don’t even believe in God!!!

---

<div class="post-metadata">

**Author:** ![scr4](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@scr4](https://boards.straightdope.com/u/scr4)\
**Post date:** [June 5, 2002, 5:01am UTC](https://boards.straightdope.com/t/computer-time-god-is-in-my-machine/112449/2 "2002-06-05T05:01:56Z")

</div>

Um… it was set by the manufacturer?

There’s a little battery on the motherboard, and the hardware clock runs off that battery. The battery also keeps alive the memory that stores hardware configuration information.

---

<div class="post-metadata">

**Author:** ![Reeder](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@Reeder](https://boards.straightdope.com/u/Reeder)\
**Post date:** [June 5, 2002, 5:04am UTC](https://boards.straightdope.com/t/computer-time-god-is-in-my-machine/112449/3 "2002-06-05T05:04:35Z")

</div>

It’s the CMOS battery.

---

<div class="post-metadata">

**Author:** ![scr4](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@scr4](https://boards.straightdope.com/u/scr4)\
**Post date:** [June 5, 2002, 5:31am UTC](https://boards.straightdope.com/t/computer-time-god-is-in-my-machine/112449/4 "2002-06-05T05:31:31Z")

</div>

[hijack]  
CMOS is a type of semiconductor device, right? Why do we refer to the battery as a CMOS battery? The battery obviously isn’t a CMOS device. The meory backed up by the battery may be, but then again, just about every chip in the computer is a CMOS device, isn’t it?  
[/hijack]

---

<div class="post-metadata">

**Author:** ![Nametag](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/nametag/32/406_2.png) [@Nametag](https://boards.straightdope.com/u/Nametag)\
**Post date:** [June 5, 2002, 5:40am UTC](https://boards.straightdope.com/t/computer-time-god-is-in-my-machine/112449/5 "2002-06-05T05:40:11Z")

</div>

From the [CNET.com](http://CNET.com) Glossary:

> [@](#):
>
> CMOS  
> complementary metal-oxide semiconductor
> 
> Chips made with this **low-power** semiconductor technology are commonly used in personal computers to hold basic start-up information–such as the time and date–for use by the system’s BIOS.

---

<div class="post-metadata">

**Author:** ![Walloon](https://avatars.discourse-cdn.com/v4/letter/w/fbc32d/32.png) [@Walloon](https://boards.straightdope.com/u/Walloon)\
**Post date:** [June 5, 2002, 5:41am UTC](https://boards.straightdope.com/t/computer-time-god-is-in-my-machine/112449/6 "2002-06-05T05:41:13Z")

</div>

> [@](#):
>
> \*Originally posted by scr4 \*  
> \*\*Um… it was set by the manufacturer?  
> \*\*

Are you asking this, or stating this?

---

<div class="post-metadata">

**Author:** ![scr4](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@scr4](https://boards.straightdope.com/u/scr4)\
**Post date:** [June 5, 2002, 5:52am UTC](https://boards.straightdope.com/t/computer-time-god-is-in-my-machine/112449/7 "2002-06-05T05:52:32Z")

</div>

I was saying that if the clock was correct, it was obviously set by someone. If it’s a new computer (which I thought was implied by the OP but now I’m not sure) it must have been set when the PC maker built and configured the computer. The fact is that computer clocks run off the memory, and do not lose the time when disconnected from power.

---

<div class="post-metadata">

**Author:** ![CurtC](https://avatars.discourse-cdn.com/v4/letter/c/ce73a5/32.png) [@CurtC](https://boards.straightdope.com/u/CurtC)\
**Post date:** [June 5, 2002, 1:28pm UTC](https://boards.straightdope.com/t/computer-time-god-is-in-my-machine/112449/8 "2002-06-05T13:28:57Z")

</div>

The term “CMOS battery” was shorthand for “the battery that holds information in the ‘CMOS’ part of the computer.” The term “CMOS” has come to mean that part of the computer where it stores its settings that it uses at boot-up. It needs to be low power because its information has to be held with a battery when there’s no AC power. So they use the lowest power ICs available, which are CMOS technology.

By the way, my two HP 12C calculators have been running for 16 years on the original batteries. CMOS at work.

---

<div class="post-metadata">

**Author:** ![CurtC](https://avatars.discourse-cdn.com/v4/letter/c/ce73a5/32.png) [@CurtC](https://boards.straightdope.com/u/CurtC)\
**Post date:** [June 5, 2002, 1:40pm UTC](https://boards.straightdope.com/t/computer-time-god-is-in-my-machine/112449/9 "2002-06-05T13:40:58Z")

</div>

Oh, and one more thing. CMOS devices can hold their state with extremely low power drain. They use more power by a very large factor when switching states. But the clock has to actually be running when the PC is unplugged. It’s good engineering that they can have a circuit to excite a crystal to oscillate, power a resonant circuit, and run a few logic gates to count the oscillations, and not draw too much out of the battery. It’s actually such low power that the limitation for how long they can run is not in discharging the battery, but in the battery’s shelf life.

---

<div class="post-metadata">

**Author:** ![Walloon](https://avatars.discourse-cdn.com/v4/letter/w/fbc32d/32.png) [@Walloon](https://boards.straightdope.com/u/Walloon)\
**Post date:** [June 5, 2002, 2:00pm UTC](https://boards.straightdope.com/t/computer-time-god-is-in-my-machine/112449/10 "2002-06-05T14:00:48Z")

</div>

> [@](#):
>
> \*Originally posted by scr4 \*  
> \*\*I was saying that if the clock was correct, it was obviously set by someone. \*\*

OK. Then why the question mark after your answer?

---

<div class="post-metadata">

**Author:** ![Mangetout](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/mangetout/32/19_2.png) [@Mangetout](https://boards.straightdope.com/u/Mangetout)\
**Post date:** [June 5, 2002, 2:01pm UTC](https://boards.straightdope.com/t/computer-time-god-is-in-my-machine/112449/11 "2002-06-05T14:01:17Z")

</div>

> [@](#):
>
> \*Originally posted by scr4 \*  
> **CMOS is a type of semiconductor device, right? Why do we refer to the battery as a CMOS battery? The battery obviously isn’t a CMOS device.**

For the same reason as we call something a sandwich toaster even though it isn’t made of sandwiches.
