I suspect I've shared this before, but my neighbor's, son's, daughter's BMW, had one of those too smart for its own good battery systems. A should be simple battery replacement turned into a dead car that had to be trucked to a dealer and returned probably a thousand dollars later, without a straight answer of what they fixed (I suspect they just swapped out expensive modules until it worked).
My low tech 20YO car started to be sluggish starting on cold mornings before the 3 year battery warranty but battery tested good, just incompletely charged. My weekly driving pattern is all of about 16 miles, once a week (8 miles each way mostly modest RPM interstate miles).
I opined that I just wasn't driving far enough or often enough and bought a smart battery charger to keep it fresh.
Another tidbit about batteries there are only a handful of companies in the US making batteries so don't over pay for marketing claims from premium brands. At best they can offer a better warranty for same basic product (which can add some value).
JR