I found this module, and it needs 5V power supply when it simultaneously charges batteries with integrated battery protection circuit and gives output of 5V. When power supply is cut, it switches to use the batteries to supply 5V output. There is an interruption of about 0.3sec when switching. At this stage, the module switches off if load is less than 50mA.
I try to get rid of the interruption by using a 1.5F 5.5V capacitor parallel to load but did not get the result I hoped for. Now when power is cut, module switches off temporarily, when power from cap is being drained to a certain extent. Only then, it will come on, but even then, it will repeatedly switch on and off quickly. Please help me understand what is happening.
This is the link to the module:
The diagram is little sketch of my work.