I have a LED strip and 12v LED TV and I run them on 220v to 12v power supply but my 220v ac is cut off daily for hours and back again so I bought a 12v battery. I built the following relay circuit that helps me in switching power when 220v is gone and back to 220v power supply when its back.
The main problem is that this circuit run effectively when it switches from 12v battery to the power supply and all the devices are still running. But once it switches from the AC power supply to the 12v battery the TV switch off and the LEDs switch off for seconds and back again.
So, I need to edit this circuit so it will never affect the TV and LEDs behavior on any switching case.