Battery design based upon life cycle statistics