My Yaris is now 10 years old: it's time to have a look at its battery:8th year check.
Car usage is mostly urban, so plenty of EV battery depletions, and forced charges, because of slow moving traffic. Open air parking at night also.
On a side note, the 12V battery is still the original one.
I've never had a car with a service battery lasting more than 5 years: probably the periodic CTEK treatment had some benefical effect on that.