Optimised management of all your batteries