text: how do computers keep record of time even when they are shut down ?   computers store this information in a cmos chip that uses a small battery to retain the information when the computer is shut off.   cmos (complementary metal oxide semiconductor) is type of chip that consumes very little power; therefore, while the computer is turned off, the battery discharges very slowly. but the battery will totally discharge if you leave your computer turned off for a year or so. even if you turn your computer on every day, the battery is designed to last only a couple of years. occasionally a battery will fail prematurely.   today’s plug-and-play computers can detect most of the necessary settings, but if your cmos battery is dead, your computer will not be able to retain the date and time. the computer will also lose any custom settings, for example, the boot sequence. if you set a password in cmos, you may be locked out of the computer. if the cmos battery does fail, you might receive the message "system configuration lost" when you start the computer. it would be wise to record all the cmos settings as a precaution.   to record the cmos settings, watch for an on-screen prompt when you first start your computer. the prompt tells you to press a key, usually the del or f2, to enter cmos. to enter the cmos configuration utility, you have to press the indicated key while the message is on the screen. after the cmos configuration screen appears, follow the instructions provided to page through all the screens and record all the settings.   if your computer loses its time setting overnight, the cmos battery may not be holding a charge. the cmos battery is located inside the case on the motherboard. changing the battery is usually a job for a computer technician. in fact, a layman might not even be able to find the battery.   if you want to locate the cmos battery in your computer, be aware that a static discharge from your hands can damage components inside the case. after taking proper precautions, open the case and look on the motherboard for a battery. if you have a diagram of your motherboard, locate the battery on the diagram first.   different motherboards use different types of batteries. the battery may be shaped like a barrel or a coin. some motherboards use a component that resembles a chip which contains the cmos and the battery (made by dallas or benchmarq). batteries come in different voltages, so make sure you get an exact replacement.   sometimes the battery is mounted in a holder. sometimes it is soldered to the motherboard. de-soldering and re-soldering a battery is usually a job for a computer technician. an inexperienced solderer can cause a lot of damage. if you want to try to do it yourself, first practice on an obsolete circuit board. you may change your mind.   if the cmos battery has failed because it’s too old, this might be an opportunity to upgrade your motherboard. when upgrading a motherboard, the most important considerations are to make sure the new motherboard is the correct form factor for your case, and that the new motherboard has the correct bus connector slots for your expansion boards.