I wait until there's some sign of wearing out myself, typically a cold frosty morning where the motor is very sluggish to turn over.
The claimed life of most batteries used to be 3-5 years but they have always lasted a lot longer for me. I don't know these days because battery chemistries have changed a bit in the last decade or so.