hi im new here and this is my first post here. i really need your help guys. i have 5,1 v dc supply and i want charge 3,7 v li-ion battery with constant current im using a lm358 as a comparator and 2 transistors i build the circuit with simulation program it is working there but when i building it it doesnt work in real word
i will post a picture of circuit down below. here is the problem. when battery is at 3,7 v its will charging it with constant current and when its reaches 4,1 v the comparator will shut off the power. in real life its just gives really low current then expected. here is the smulation curcuit
first one is while charging with constant current. other one is when its reaches 4,08 v its cuts power. please share your ideas about why its not gives the current i want and why it is give so low current thank you

first one is while charging with constant current. other one is when its reaches 4,08 v its cuts power. please share your ideas about why its not gives the current i want and why it is give so low current thank you

