How does a desktop or laptop computer clock stay synchronized, even after you have turned the machine off for several days, before you switch it back on? Yes, you guessed it right. It's because of the motherboard battery, which keeps the clock ticking all the time even after the desktop or laptop computer is turned off. Besides this function, the battery also powers CMOS memory in some of the old computers. Ergo, when you get a 'CMOS Battery Failure' signal at start up, it's time to get the internal battery replaced.