An adaptive approach for configuration of generalized battery nonlinear equivalent-circuit-model (ECM) is proposed. In the approach, the distribution-relaxation-times (DRT) analysis is used to configure and initialize the ECM to be fitted to the impedance data. The performance of the approach is validated and analyzed by using experimental battery impedance measurements