A battery needing to be replaced means to me that there is something wrong with the charging system: alternator, voltage regulator (usually self contained). Here's what I do:
Park car in a garage and wait for complete darkness. That's where you can see the single mirror light on by mistake. Same for other lights: under-hood, trunk, glove box, driving lights.
Then start the car and disconnect one battery terminal. Car runs OK or not?
The connect the ammeter across the disconnected cable, key off and measure any residual current. When cable is reconnected, and motor running, measure charging voltage (should be over 13v.
Anything plugged into the lighter socket (Garmin, camera, phone charger ?) On my truck, the socket is always hot. On one of my cars, the socket is dead with key off, on the other the socket is also hot all the time.
Any builtin radio sources present (On-Star, etc?) On my truck, On-Star is always reporting mileage and service needs whether truck is running or not. Kills my battery after a month of non-use. My insurance company (State Farm) is also always checking mileage because I'm getting a low mileage premium 'discount'. I think they check Average Speed per miles interval, too (Yes On-Star can do that), plus many other secret features (like turn on the microphone to listen for sounds: we used to use this feature at work (GM) to locate snow covered cars in storage lots. We blow our horn and On-Star tells us when we are close to the vehicle we are looking for).
I also recommend pulling the key out after use. When I leave the key in (switch 'Off', my battery will be down after a week. Something's enabled with the key fully inserted. Same for our car. Now we pull the keys and no more problems (except for the On-Star snitch).