Multi-battery energy storage system control strategy