The BQ2057WTSTR is a 2-cell Li-Ion/Li-Polymer linear battery charger from TI in TSSOP-20. It implements a CC-CV (Constant Current-Constant Voltage) charging algorithm: the CC phase delivers constant current (set by external sense resistor on SNS pin) until the battery reaches the regulation voltage (8.2V or 8.4V for 2-cell), then the CV phase holds this voltage while current tapers. The CC pin drives the base of an external PNP pass transistor; the BQ2057 modulates the PNP base current to regulate charge current. The SNS pin monitors voltage across an external sense resistor (typically 0.1-0.25 Ohm) to measure charge current: Ichg = 0.1V / Rsns. The TS pin interfaces with a 10k NTC thermistor on the battery pack for temperature qualification: charging is suspended if battery temperature is outside the 0-45C window. The STAT pin provides charge status indication: HIGH during charge, LOW when complete, and blinking during fault. Charge termination occurs when current drops below the programmable threshold (typically C/10).