Some newer vehicles need to be "reset" after a new battery is installed. My Supra falls into this category. Our Lexus battery in Southern California lasts about 5 years. At some point, we see an illuminated warning on the dash. This warning tells us to place the shifter in Park before turning off the engine. That tells me that the battery is getting weak and needs to be replaced.
When I had a 2014 Mazda 3 with tech package, the warning included mention of the iEloop system. That was also a sign that the battery needed to be replaced - a dealership job, as the battery needed to be reset.
So when the time does come to replace or have replaced your battery (hopefully after a warning is displayed), check to see if others have done it themselves. You may be able to skip the dealership and save money.