Cars today use lead-acid batteries for the starting/lighting/ignition system. Hybrid vehicles that start the engine by a high-voltage battery do the same except for starting. Similarly, many electric vehicles have a 12-volt lead-acid battery that's recharged from the high-voltage battery when the vehicle is turned on.
All lead-acid batteries have a finite lifetime. For example, my computer UPS where lead-acid AGM batteries are kept on continuous 13.65 volt float charge has a typical battery lifetime of 5 years after which the batteries fail. I'm not completely sure what the failure mode is, but it could be shorted cells, since the last time my UPS batteries failed, it caused a failed self-test that probably failed due to suddenly providing too low voltage, so low that it was incapable of powering the inverter for the time it needed to switch back to mains electricity. But it also could be permanent hard sulfation reducing the capacity so much that at the failure event, the batteries simply couldn't hold any charge.
On the other hand, on my Toyota RAV4 hybrid, the lead-acid AGM battery is 7.5 years old but I'm not sure what its health is. It so far hasn't caused any problems for me.
In my past vehicle, a Toyota Yaris that had an EFB battery, there was one incident of forgetting the lights on, after which the car was jump started after a day of two. The battery subsequently probably showed momentary voltage depression then when starting the engine (so the headlights dimmed for a split second), after which I requested the dealership to do a battery check since they had a special offer where it was free. The report was: battery is fine (probably measured by cranking amperage), but should be recharged (probably measured by open-circuit voltage which was too low). But I know I drove to the dealership for 20-30 minutes and hadn't been driving any short trips, so the battery should have been full. I don't think they had enough time to do a proper discharge test to determine the amp-hour capacity of the battery.
I know that old batteries don't die by slowly reducing their cranking amperage; instead, they die by having constant cranking amperage but slowly reducing capacity, after which the capacity becomes so low they can't crank the engine even once when the idle drains and few days of not driving the car had resulted the battery becoming totally flat due to having only few percent of the capacity left.
Could the open circuit resting voltage of a lead-acid battery be used to estimate its health?
I know that old batteries usually fail due to permanent hard sulfation resulting in reduced capacity. I also know that as lead-acid batteries are discharged, they discharge by soft reversible sulfation, which reduces the voltage as more charge is drawn.
So if I have a full battery that's 80% permanent hard sulfated and only has 20% of the capacity left, doesn't that mean that the battery should show the same open circuit voltage than an identical new battery that's 0% permanent hard sulfated but has been 80% discharged, and only has 20% of the charge left?
If this is the case, I think resting open circuit voltage of a lead-acid battery should quite easily tell its health, which could be used to replace it in time before failing, instead of having an event where the car can't be started anymore.