Improved efficiency management strategy for battery-based energy storage systems