Liquid-cooled energy storage battery pack capacity detection