mr.AG please confirm if the schematic is now correct...
the Vref of the -input was set to 31mV
the hysterysis was used at the +input, so that if the voltage drop is 0.0575, at 4.13V, the charger shutts off then the Vinput(2.13mV is lower than 31mV)at the +V will decrease to 1.21mV due to not charging condition...
so the pushbutton will serve as a trigger for the comparator to charge the battery, once the pushbutton connects the relay, the Vdrop is sensed at the +input and the comparator turns ON, then the pushbutton must released, in other words, the pushbutton is pushed quickly,, we can you toggle switch mr.AG? toggle the switch ON, then switch again it to OFF.. are these correct?