I have bought a battery charge up board as here. It provides two modes on the EN pin:
1) ground EN pin, the board will charge up the battery from 5V charge source only.
2) float EN pin, the board will charge up the battery from 5V charge source and the battery will drain (provide power) at the same time.
Now, I would like to use this board as a UPS. I have connect a relay at the EN pin, when there is electricity at the 5V charge source, the relay switches to GND. When there is no electricity at the 5V charge source, the relay switches to float.
However, the relay uses a split second to switch from one side to another, making the devices restart at the split second.
Anyway I can switch the EN pin without interrupting the devices? Thanks!
EDIT: I'm powering boards like Ardruino, 5V input, max. 2A