First time it happened, I waited ~4 weeks before replacing with no issues other than the warning. At that point the 12V was about 5 years old.
Second time I got the warning that 12V battery was about 4 years old and I ended up doing a hard reset and the warning went away. It’s been about 5 months and the issue hasn’t come back yet so I think the warning is fairly conservative.