Posted by lee webster on 08/02/2023 16:32:29:
The button cell, if made in a certain country that is big on spy balloons, contains software that will send your browsing details back to said country and they will target you with suitable ads. Plus what the others said.
As the whole computer was probably made in the PRC, there's no need to go to the trouble of embedding software in a battery, and arranging some way of getting into memory. Much easier and less obvious ways of doing it.
The real purpose of the cell is to maintain a real-time clock whilst the computer is disconnected from it's normal power source. Date-time is important for a myriad of purposes, for example knowing which files to backup, and confirming security certificates are valid. Correct operation of the clock becomes ever more important depending on what the computer is doing. Not too bad on a stand-alone machine that's never connected to anything else, but mission critical on a internet server.
Time is so important that Internet connected computers only rely on the standby clock and battery briefly. When a connected computer boots, it tries to set the main clock from internet time almost as a first step. If this works, the owner may not realise he has a flat battery, because the main clock took over pronto. However, chaos ensues if the battery is flat AND internet time isn't available for some reason. Then all the timestamps essential to time critical functions will be wrong. When the clock is eventually corrected, chunks of the system will be inconsistent, which can cause weird bugs. The effect is a little like radiation: a short exposure to a time error could be harmless, but the risk of fatal damage rises as time passes. Rises much faster on a computer with a complicated workload than one that does a bit of browsing and email..
Normally cells last for several years. Most likely to fail on little used machines kept in cold rooms, or elderly computers. Sometimes annoying to find that cells can be amazing difficult to to replace, hidden away under other components, making it necessary to dismantle most of the machine, and occasionally soldered in…
Dave