Li-ion protection/charge/boost module