When changing the battery on a car, how or why does it store things in ROM like mileage, radio settings, etc, but it doesn't keep the time? All sorts of settings about the car are saved to a DB of some sort, but never the time. It always needs to be set after the battery changes. Is there not a tiny CMOS-like battery that can be used in addition to the actual car-starting battery?
And also, there is no necessity, like it is with computers. With computers, electrical cords are disconnected each time necessary to without a problem or caution (only it mustn't be running lol). With a car, disconnecting the battery should ideally never be done. So, actually no CMOS battery needed. Once in a few years setting the clock is not that big issue.
The other thing is, it's not only the clock that is resetted :)
Have you noticed, a clock in the car is mostly within the entertainment system? And that's the point why.
If a car battery is disconnected, that happens typically for just a few seconds until a new one is connected. Here, nothing should happen. The clock will be kept typically. If the change takes longer than a certain time, the electrical buffer within the entertainment system will be emptied. THIS is actually on purpose.
It's a countermeasure, it should make stealing & selling of the entertainment systems not so easy anymore.
Because, with longer power loss it loses it's entanglement with car's hardware, too, and needs a code to be entered after new power is connected. That's a good thing.
The clock is A. within that system and will be powerless, too, and B. It's a visual signal, that there has been a power loss recently. One should check.. may be the wires, iduno.
So and that's the reasons for not having a cmos-like battery in your car.
A. Money saving,
B. Visual info on "electrical status" and
C. countermeasure against thiefs.
My 9 year old Ford can tell me the name of the street I am on but I need to set the time manually ...
Missed opportunity there.
They regularly wipe all radio settings when you remove them pending how old the rig is.