a system and method for maximizing a battery pack total energy metric indicative of a total energy of a battery pack is provided . the method includes receiving battery cell charge capacity estimates for all cells in the battery pack , composing battery pack configurations comprising subsets of the totality of battery cells , evaluating a battery pack energy metric for every battery pack configuration that is composed , selecting the battery pack configuration that has the maximum battery pack energy metric , and storing values indicative of the selected battery pack configuration in a memory .