Some information about Li-Ion (and NiCad) battery life, use and technical details
https://www.protoolreviews.com/news/how-long-do-lithium-ion-batteries-last/39576/
I will confess that my last few cordless tools have been Ridgid. If you dot your Is and cross your Ts, they have a lifetime warranty on batteries. The first one I got had some issues and they replaced the batteries twice in the first three years. For the last 5 or so, the re-engineered ones have been working just great.