A circuit for charging battery if there is electricity, and lights the bulb with this battery if electricty goes off
I have 18650 battery and battery charger circuit module. I need to make a circuit that works with my 5V 3A voltage source. This circuit will direct the currency to charge modules. If electricity goes off, it will lights the bulbs. How can I do this circuit with mosfets or transistors? I do not want to use relay.