The MP2641 is a highly integrated, bidirectional active balancer that provides up to 2A of charge redistribution among Li-ion, Li-polymer, or lithium iron phosphate batteries in a two-series battery pack. As an alternative to dissipating energy with passive balancing, the MP2641 efficiently moves charge between cells to minimize balancing time and heat generation. The device can also compensate for cell capacity mismatch to extend battery runtime. By combining multiple MP2641 devices, active balancing can be scaled to any number of series cells, and charge can be redistributed to and from any cells within the pack. The MP2641 can balance adjacent cells using two operation modes: buck-balance mode and boost-balance mode. In buck-balance mode, the MP2641 transfers energy from the upper cell (CU) to the lower cell (CL). In boost-balance mode, the MP2641 transfers energy from CL to CU. To guarantee safe operation, the MP2641 provides CL and CU over-voltage protection (OVP), under-voltage protection (UVP), and thermal shutdown. The MP2641 is available in a QFN-26 (4mmx4mm) package.