Honestly, the term 'battery treatment' can be a bit misleading because what works wonders for one type can actually kill another. It all comes down to the chemistry.
For example,
Lead-acid batteries are 'happy' when they’re kept full; if you let them sit half-empty, they develop sulfation and die pretty quickly. On the flip side,
Li-ion batteries (like in your phone or laptop) actually get stressed at 100% charge. They live much longer if you keep them in that 20% to 80% 'sweet spot.' Then you have
NiMH, which is a different beast entirely and doesn't handle constant trickle charging very well.
The best universal advice? Keep them cool. Heat is the number one killer regardless of the type. I actually learned a lot of these nuances from
Battery University, it’s a fantastic resource if you want to see the actual data behind why batteries degrade.
Battery University: How to Prolong Lithium-based Batteries