The TP4054 is a complete constant-current/constant-voltage linear charger for single cell lithium-ion batteries. Its SOT package and low external component count make the TP4054 ideally suited for portable applications. Furthermore, the TP4054 can work within USB and wall adapter.