LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-26-2010, 02:23 PM   #1
jone kim
Member
 
Registered: Apr 2010
Posts: 185

Rep: Reputation: 16
Lightbulb computer time


I want to know how the computer sets time? When I turn off my computer or it is not connected to internet it shows me the correct time. When I login to my computer after so many days, it shows me the correct time though it was turned off for so many days. How is it possible?

Please explain this to me.
 
Old 04-26-2010, 02:26 PM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
It has a battery-powered clock.
 
Old 04-26-2010, 02:26 PM   #3
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

There's a small battery on your motherboard that feeds the BIOS with power so it can remember the time when powered off or even disconnected from the power outlet. If you take out the battery, your computer will forget all about time and date.

Kind regards,

Eric
 
Old 04-26-2010, 02:29 PM   #4
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
There is a battery that battery give current to CMOS, CMOS maintain the date and time. Hope this is you are asking
 
Old 04-26-2010, 03:19 PM   #5
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
The motherboard has a 3-volt coin cell battery in it to power the clock.

Shown around the lop-left corner in this image:

http://en.wikipedia.org/wiki/File:Asus_a8n_VMCSM02.jpg

Last edited by MTK358; 04-26-2010 at 03:21 PM.
 
Old 04-26-2010, 03:57 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
In a nutshell to sum it all up...
The typical PC compatible computer contains a hardware real time clock chip that maintains the current time when the computer is off via the CMOS battery. During the boot process the OS reads the hardware clock and sets the system clock to the same time.

Lots of info on the topic can be found on the web.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible to power on computer at given time? lucktsm Red Hat 3 12-18-2006 11:47 AM
My computer can time-travel, can yours? Mr Marmmalade Slackware 3 11-28-2006 12:55 PM
My computer restart automatically from time to time ?? pleasehelpme Linux - Newbie 2 07-04-2005 04:29 PM
Having to re-name xp computer every time linux computer is reset sboothman Linux - Networking 4 12-24-2004 02:37 PM
First time with linux- old computer General Dude Linux - Newbie 8 05-14-2003 07:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:14 PM.

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