Liquid-cooled energy storage with two battery packs