I have purchased these following components:

1. 12V/18Ahr SLA battery
2. 300W modified sine wave inverter
3. 50W LED floodlight (NO SENSORS I.E. PIR, AMBIENT, ETC)
4. 12V relay module

We are currently experiencing a shortage in electrical supply in our country. So in order to keep the property light during the night I decided to make an emergency backup light.

My plan is to connect a fully charged 12V SLA battery to the input of the inverter and then connect the floodlight to the output of the inverter via the 12V relay module. The 12V relay will activate the floodlight when the power from the mains is off due to load-shedding.

My question is, will it be safe to keep the battery connected to the inverter continuously, so the system is autonomous and only turns on and consumes the battery when there is load-shedding?

And I only to intervene when the battery needs to be charged. On this point is it also safe to put a 12V SLA battery charger to charger the battery and still keeping it connected to the inverter?

The LED only runs for 2 hours per day. There is no timer controlling this. The power utility (Eskom, South Africa) which implements the blackout, turns of the power lets say at 20:00pm, the utility then leaves the power off for only 2 hours. They then turn the power back on after that. The reasons for this is because the utility tries to lessen the burden on the power infrastructure by having planned power outages for 2 hours per day. Hence the relay is used to switch the light on when there is a power outage via the mains control signal and then turn the LED off when there is mains power.

[![enter image description here](https://i.stack.imgur.com/l74Xs.png)](https://i.stack.imgur.com/l74Xs.png)