I have a lead acid battery from an old broken ups.
And I have a WIFI router with power adapter.
Can I connect the battery directly in the middle between the power adapter and the wifi router like a capacitor, so wifi would still work when there's power cuts?
I assume my idea is too naive. What should I consider if I want it to work as I imagined?