How to Build a Router Backup System: Sizing, Parts, Wiring and Testing
Quick Answer

A router backup system is a battery, a regulator and a protected power path that keeps every powered device between the provider’s line and the Wi-Fi radio running when mains power fails. Three decisions determine whether it works: the continuous load in watts, the voltage and connector of each device, and the usable energy stored in the battery.
Rated battery energy (Wh) = Load (W) x Runtime (h) / (Usable fraction x Converter efficiency)
Load: combined continuous draw of ONT or modem, router and any required switch (W)
Runtime: target outage duration to be covered (h)
Usable fraction: share of rated energy the battery management system allows to be used
Converter efficiency: efficiency of the regulator between battery and devices
For an 18 W load and an 8 hour target, with a usable fraction of 0.90 and a converter efficiency of 0.90, the rated battery energy is 18 x 8 / 0.81, which is about 178 Wh. Allowing for battery ageing raises that to roughly 222 Wh.
For most households, a ready-made mini DC UPS, or a regulated DC port on a power station that is already owned, is the more defensible build than a custom lithium pack. A DC path avoids the inverter and its idle draw, and ready-made equipment arrives with protection circuits designed by its manufacturer. One limit applies to every design: home backup cannot restore service when the provider’s own equipment has lost power.
What a Router Backup System Has to Keep Alive
An internet connection is a chain of powered devices, and the chain fails at its first unpowered link. In a fiber home the chain is the optical network terminal (ONT), the router or gateway, and any switch or access point needed to reach the rooms that matter. In a cable home it is the modem and router. In a fixed wireless home it is the outdoor unit, its power injector and the router.

Figure 1. The home backup boundary. Every powered device between the provider’s line and the Wi-Fi radio sits inside it. Provider equipment sits outside it.
A router on battery power behind an ONT without it leaves the connection dead, and one regional installation guide makes the same point: back up every powered device between the fibre and the device in use. The ONT is often in a garage, utility room or outdoor enclosure, away from the router, so its location and its adapter have to be found before anything is bought. Extra mesh nodes only need backup where coverage in those rooms is required, because each one shortens runtime.
The same guide notes that home backup cannot power the provider’s exchange, cabinet or upstream network. Provider sites have their own batteries or generators, and how long those last varies by operator. When the provider side fails, only a second route to the internet, such as a cellular failover router, keeps a connection alive, and that device also needs power.
Sielectronix already covers the case of an existing power station feeding a router in how long a portable power station can run a router. This guide covers the different job of building a system sized and wired for the purpose.
Step 1: Establish the Load
Every adapter carries a label with output voltage, rated current and a polarity symbol. The rated current is a ceiling on what the adapter can deliver. It is not the amount the device draws.
P_max = V x I_rated
Example: 12 V x 1.5 A = 18 W maximum. Actual continuous draw is usually lower.
The two numbers do different jobs. The label current sets how much current the regulator must be able to supply. The measured or typical wattage sets how much battery energy is consumed. Sizing the battery from the label overstates the draw and inflates the battery. Sizing the regulator from the measured draw can leave it unable to cope with start-up and busy-radio peaks.
| Device | Typical continuous draw | Basis |
| Standalone Wi-Fi router | 5 to 20 W | A lab study of 60 network devices by Ecova for the NRDC measured older routers at 1.7 to 10.0 W. Current tri-band models commonly draw 8 to 20 W per manufacturer ratings and roundups, as summarised in Sielectronix’s router runtime guide. |
| Cable or DSL modem | 3.5 to 7.8 W | Measured in the same NRDC study. |
| Combined modem and router gateway | 5.2 to 11.2 W | Measured in the same NRDC study. |
| Fiber ONT | 5 to 18 W | The NRDC study measured about 14 to 18 W. Vendor documentation for residential ONTs lists about 6 to 12 W. The sources disagree and are not reconciled here. |
| Each mesh node | 6 to 18 W | Sielectronix router runtime guide. |
| Switch, access point or PoE camera | Add the device’s own wattage | Powered devices behind a switch draw their full wattage from the same battery. |
Table 1. Typical continuous power draw. Ranges are planning figures, not guarantees. The adapter label of the actual unit, or a measurement, replaces any range.
Where sources conflict, as they do for the ONT, the defensible approach is to read the label of the actual unit and, if possible, measure it. A plug-in AC wattmeter on the adapter reads the AC-side power, which includes the adapter’s own conversion loss. The DC-side draw is somewhat lower, so using the AC-side figure for a DC design is conservative. An inline DC power meter reads the DC side directly.
Worked example load used throughout this guide Router 10 W plus ONT 8 W gives a combined continuous load of 18 W. These are assumed planning values for illustration. They are not measurements taken by Sielectronix.
Step 2: Choose the Architecture
Six practical routes exist, and they differ in efficiency, compatibility and risk more than in price.
| Route | Power path | Strengths | Limits |
| Line-interactive AC UPS | Battery, inverter, AC, adapter, device | Works with any adapter. Widely available. | Three conversion stages for a 10 to 20 W load. Own standby consumption varies by product. |
| Power station AC outlet | Same as above | Useful when a station is already owned. | Inverter idle draw can rival the router’s own load. |
| Power station regulated DC port | Battery, regulator, device | Skips the inverter. | Connector, voltage, polarity and current rating must match exactly. |
| Ready-made mini DC UPS | Battery, regulator, device | Designed for the job. Vendors state 0 ms switchover and efficiency above 90%. | Output voltage and current must match each device. Vendor figures are manufacturer claims. |
| DIY DC UPS from protected modules | Charger, protected pack, regulator, diode path | Lowest cost per Wh and full control of capacity. | Highest skill and risk. Mistakes can damage equipment or start a fire. |
| USB power bank with trigger cable | Bank, PD negotiation, cable, device | Cheap and compact. | 12 V is not a standard fixed voltage in current PD profiles. The wrong voltage can reach the router. |
Table 2. Router backup architectures compared on the same dimensions.

Figure 2. Decision tree for choosing a router backup architecture. The default for a pure DC load is a ready-made mini DC UPS.
Why the DC path wins for a load this small
On the AC path the energy passes through an inverter, then through the router’s own adapter, which turns it straight back into low-voltage DC. The inverter also has a standing consumption that is independent of the load, and on a 10 W load that overhead can rival the load itself. Sielectronix’s earlier runtime work uses an 8 W idle overhead as a planning figure for compact stations, and the same assumption is applied here for comparison.

Figure 3. Estimated runtime of a 189 Wh battery feeding an 18 W load by two paths. Calculated values, not measurements. The 8 W idle figure is a planning assumption that varies by product.
The DC result is, if anything, understated. The 18 W figure is an AC-side wattage that already includes the router adapter’s losses, so the true DC-side load is lower. How much lower depends on the adapter, and no verified efficiency figure is assumed here. UPS products differ in standby consumption, so a specification sheet or a plug-in meter settles the AC comparison for a specific model.
Why a USB power bank with a trigger cable is a weak foundation
Trigger cables that claim 12 V rely on the power bank offering a 12 V profile. Current USB Power Delivery fixed profiles in the standard power range are 5, 9, 15 and 20 V, and 12 V belonged to the first PD revision. Adafruit’s PD guide warns that 12 volts is not universally supported. A cable set to a voltage the source cannot supply will negotiate a different one, so a router rated for 12 V can receive 9 V or 15 V. Some power banks also switch off when the connected load is very small, so the specification should be checked for a low-current or always-on mode before relying on one.
Step 3: Size the Battery
Energy, not capacity in ampere-hours, is the quantity to size. The relationship between the two is covered in Wh versus Ah and watts versus watt-hours. Stored energy in a battery is approximately its nominal voltage multiplied by its ampere-hour rating, which is a simplification explained in nominal versus maximum voltage.
Rated Wh = (Load W x Runtime h) / (Usable fraction x Converter efficiency)
Runtime h = (Rated Wh x Usable fraction x Converter efficiency) / Load W
Stored energy (approx.) Wh = Nominal V x Ah
| Assumption | Value | Why it is used |
| Usable fraction | 0.90 | Matches the depth of discharge planning factor used in Sielectronix runtime guides. The real limit depends on the battery and its BMS. |
| Converter efficiency | 0.90 | Vendors of mini DC UPS products claim efficiency above 90%. Datasheet figures for boost converters are peak values, and light-load efficiency can be lower, so measured results may fall short. |
| Ageing allowance | 0.80 | A common end-of-life reference is 80% of initial capacity. Cycle life varies by chemistry and use. |
| Load | 18 W | Worked example: router 10 W plus ONT 8 W, assumed. |
| Target runtime | 8 h | Illustrative outage duration. |
Table 3. Assumption register for the worked example.
Three levels of answer
- Basic (theoretical): 18 W x 8 h = 144 Wh. This ignores every loss and should not be used for purchasing.
- Practical: 144 / (0.90 x 0.90) = 177.8 Wh rated. This includes the usable fraction and converter loss.
- Conservative: 177.8 / 0.80 = 222.2 Wh rated. This adds an ageing allowance, because a battery that just meets the target when new will fall short as capacity fades. The margin has a stated reason and is not arbitrary.
Worked example
Scenario. A household wants an ONT and router to stay on for 8 hours. Known values. Load 18 W, usable fraction 0.90, converter efficiency 0.90.
Formula. Rated Wh = (W x h) / (usable fraction x efficiency).
Calculation. (18 x 8) / 0.81 = 177.8 Wh.
Result. About 178 Wh rated when new, 222 Wh with an ageing allowance.
Practical meaning. A 12 V nominal LiFePO4 battery of 20 Ah stores about 12.8 V x 20 Ah = 256 Wh. At 0.81 combined, that delivers about 207 Wh to the load, or 11.5 hours at 18 W, which covers the conservative figure. A pack of fifteen 18650 cells at 3.6 V and 3.5 Ah each (3S5P) stores 189 Wh and delivers about 8.5 hours when new. Limitation. Real runtime moves with temperature, battery age, converter efficiency at light load and the true draw of the devices.

Figure 4. Estimated runtime against continuous load for four rated battery energies, using a combined factor of 0.81. Calculated values, not measurements.
| Rated battery energy | 10 W load | 18 W load | 30 W load | Typical use |
| 50 Wh | 4.0 h | 2.2 h | 1.4 h | Short interruptions |
| 100 Wh | 8.1 h | 4.5 h | 2.7 h | Single router, moderate outages |
| 150 Wh | 12.2 h | 6.8 h | 4.1 h | Router plus ONT |
| 200 Wh | 16.2 h | 9.0 h | 5.4 h | Router plus ONT, long evenings |
| 250 Wh | 20.2 h | 11.2 h | 6.8 h | Router, ONT and one mesh node |
| 300 Wh | 24.3 h | 13.5 h | 8.1 h | Overnight coverage |
Table 4. Estimated runtime by rated battery energy and load, at a combined factor of 0.81. Values are calculated and rounded.
Reading vendor runtime claims
One mini DC UPS vendor lists a 77.7 Wh unit as providing 13 to 14 hours for a 12 V, 0.5 A device. A 12 V, 0.5 A label implies at most 6 W, and 77.7 Wh divided by 6 W is about 13 hours, which is consistent with a calculation that allows nothing for conversion loss or battery reserve. With the 0.81 factor used here, the same unit gives about 10.5 hours at 6 W and about 3.5 hours at the 18 W worked example. Vendor figures are therefore best treated as best-case numbers, and a runtime claim is only comparable once its load and loss assumptions are known.
Step 4: Match Voltage, Polarity and Connector
This step causes more damage than any other. A device built for 9 V connected to 12 V can be destroyed, and a reversed polarity connection can do the same. A vendor selection guide states the rule plainly: a mini DC UPS must match the device’s voltage, and routers and ONTs commonly use 9 V or 12 V adapters. Connector shape does not prove polarity. Barrel plugs of the same size, such as the common 5.5 x 2.1 mm and 5.5 x 2.5 mm types, can have opposite polarity or different voltage ratings.
| Check | Where to find it | Rule |
| Output voltage | Adapter label, usually shown as V with a DC symbol | The backup output must equal the label voltage, within the device’s documented tolerance. |
| Polarity | Symbol on the label showing which part of the plug is positive | Confirm with a multimeter at the plug before connecting. Never infer it from the plug shape. |
| Connector size | Label, manual or calipers | A loose or wrong-size plug causes intermittent power, which looks like a software fault. |
| Current rating | Adapter label | The regulator’s rated output current must be at or above the sum of the rated currents of everything it feeds. |
| Different voltages | Each device’s label | Use a separate regulator, or a multi-output unit, for each voltage. |
Table 5. Voltage and connector matching checklist.
A nominally 12 V lithium battery does not hold 12 V. A protected 3S lithium-ion pack reads about 12.6 V when full, since a cell is charged to 4.2 V according to Panasonic’s lithium-ion documentation, and falls toward 9 V to 10 V as the protection circuit approaches cutoff. A 12 V LiFePO4 battery also swings: one manufacturer specifies a 15.6 V BMS limit and an 11 V minimum recommended operating voltage for a 12 V model. Connecting such a battery straight to a router puts that whole swing across the device, which is why a regulator belongs between them.
The regulator also needs a current rating that holds at the lowest battery voltage: Texas Instruments notes that boost converter datasheets rarely state maximum output current directly, because it depends on the input current limit and worst-case efficiency.
Step 5: Design the Power Path
The power path decides whether the router notices the outage. A standby design, with the adapter feeding the load through one diode and the battery feeding it through a regulator and a second diode, switches without a gap because both sources are already connected to the load bus. The source with the higher voltage at the bus carries the load.

Figure 5. Conceptual power path for a standby DC backup. It shows the logic of the design and is not a build schematic.
Diode losses and the setpoint
A Schottky diode drops a few tenths of a volt. Analog Devices (Maxim) documentation puts it at 330 mV at 1 A against 85 mV for an ideal-diode device. On a 12 V rail carrying 1 A that is a loss of 0.33 W against 0.085 W, or 2.75% against 0.71% of the delivered power. The adapter voltage must also exceed the diode drop for the adapter to take over, as Analog Devices notes.
The setpoint matters more than the diode type. If the regulator is set to the same 12 V as the adapter, and both diodes drop the same amount, small tolerances decide which source carries the load. The battery can then supply the router while mains is present, draining the battery while the charger refills it. Setting the regulator a few tenths of a volt below the post-diode adapter voltage makes the adapter carry the load on mains. The price is that the router sees a slightly lower voltage on battery, so the device’s accepted input range must be confirmed first.
The charging budget
The adapter that feeds the load on mains also has to charge the battery, so its rating must cover both. Recharge time is the energy to restore divided by the spare charging power.
Recharge time (h) = Energy drawn from battery (Wh) / (Spare adapter power (W) x Charger efficiency)
Energy drawn = 18 W x 8 h / 0.90 = 160 Wh
Spare power = (12 V x 2 A) – 18 W = 6 W; charger efficiency assumed 0.90
Recharge time = 160 / (6 x 0.90) = about 30 h
A 24 W adapter feeding an 18 W load leaves only 6 W for charging, so a full recharge after an 8 hour outage takes about 30 hours. Where outages come in clusters, a second outage can arrive before the battery has recovered. A dedicated charger input of higher rating solves it, and the same arithmetic shows why charging current is a specification worth reading before a purchase. Efficiency, charging behaviour and chemistry are covered in lithium-ion battery charging explained and battery efficiency explained.
Step 6: Protect the Pack, the Wiring and the Room
Protection is what separates a backup system from a fire risk. A multi-cell lithium pack needs a battery management system (BMS) that stops charging at the cell limit, cuts off discharge before over-discharge and interrupts a short circuit. Panasonic’s documentation shows the principle at cell level: charge is stopped when voltage per cell rises above about 4.30 V, and discharge stops near 2.3 V. A charger must also follow a constant-current, constant-voltage profile at the correct voltage per cell, and a BMS is not a substitute for one.
- Fuse at the battery. The fuse sits as close as practical to the battery positive terminal. Its voltage rating must exceed the battery’s maximum voltage, its current rating must exceed the maximum continuous current, and it must be below the rating of the wire it protects.
- Pre-assembled, protected modules. Spot-welding bare cells into a pack is a skilled job where errors are costly. Using a manufactured pack with a BMS, a certified charger and a regulator module is the safer default for a DIY build.
- Reverse polarity. A wrongly connected battery or output can destroy the regulator and the router. Keyed connectors and clear marking reduce the risk.
- Location. Heat reduces capacity and accelerates ageing, as covered in how temperature affects battery capacity. A sealed, hot cabinet is a poor home for a lithium pack.
- Series and parallel arrangements. Cell groups must be matched, and the rules are set out in battery series versus parallel connections.
| Safety boundary This guide stays on the low-voltage DC side. Mains-side wiring, permanent installation and any modification of mains equipment belong to a qualified electrician. Lithium batteries can fail violently when damaged, overcharged or short-circuited. The manufacturer’s instructions for the specific battery and charger take precedence over anything stated here. |
Step 7: Install, Test and Document

Figure 6. Commissioning sequence. The voltage and polarity check happens with the load disconnected.
- Record the labels. Photograph each adapter label. The photograph is the reference if an adapter fails and a replacement is needed with exact electrical specifications.
- Measure before connecting. With the router and ONT disconnected, measure the output voltage and polarity at the plug with a multimeter. If either differs from the label, stop and correct it.
- Pull the plug. With the devices connected, unplug the mains supply and confirm the ONT and router stay on. A simple unplug test while nobody is online is the standard way to verify a network backup, as Engadget’s guide to home network backup recommends.
- Check the whole chain. Confirm the ONT’s optical link status and that internet access works, since a powered router is not proof of a working connection.
- Run a timed test. Run the system on real load for a defined period, such as an hour, and note the drop in the battery’s reported charge. Extrapolate with caution, because cheap fuel gauges are approximate. Repeated deep discharges to cutoff age the battery.
- Write it down. Record date, load, battery size and measured result, so later tests can be compared with it.
Keeping the System Dependable Over Time
A backup system that is never tested is a guess. Capacity fades with use and age, which is explained in why battery capacity decreases over time and battery cycle life, and depth of discharge affects how fast, as set out in battery depth of discharge. The practical rule is to retest on a schedule and after any outage where runtime fell short, and to replace the battery when measured runtime drops below the requirement, not on a fixed calendar. Adapters and connectors also fail, so the recorded labels from Step 7 stay with the system.
Common Mistakes
| Mistake | Why it seems reasonable | Why it fails | Do this instead |
| Sizing from the headline Wh | The label says 100 Wh | Usable fraction and converter losses reduce what reaches the load | Apply the 0.81 factor or the product’s measured figures |
| Backing up the router only | The router is the visible device | A dead ONT or modem ends the connection | Include every powered device in the path |
| Assuming 12 V means 12 V | The label says 12 V | Nominal battery voltage swings, polarity can differ | Regulate, then measure at the plug |
| Using a PD trigger cable at 12 V | The cable says 12 V | The power bank may not offer a 12 V profile | Use a regulated DC unit with a stated 12 V output |
| Equal source voltages | Both sources are 12 V | The battery can carry the load on mains | Set the regulator below the post-diode adapter voltage |
| Charging through a small adapter | The adapter is already there | Spare current is tiny and recharge takes days | Check the charging budget or use a dedicated charger |
| Skipping the fuse and BMS | The load is only 18 W | A battery can deliver far more fault current than the load draws | Fuse at the battery and use a protected pack |
| Never testing | It worked at installation | Batteries age and connectors loosen | Pull-the-plug test on a schedule |
Table 6. Common mistakes in router backup builds.
Frequently Asked Questions
Is an ordinary AC UPS suitable for a router?
It works, and it suits devices that only accept AC. For an 18 W DC load it is the least efficient route, because the energy is inverted to AC and converted back to DC by the adapters. Runtime then depends on the UPS’s battery energy and its own standby consumption, which the specification sheet or a plug-in meter will show.
Does the internet stay up if the provider loses power?
Not necessarily. Home backup powers only the home equipment. If the provider’s exchange or cabinet fails, only a second route such as a cellular router helps, and that device needs power as well.
Should the battery be LiFePO4 or lithium-ion?
It depends on the criteria. LiFePO4 offers a nominal 12.8 V in four cells, which sits close to 12 V rails, and is usually specified for long cycle life. Lithium-ion offers higher energy density in a smaller volume. Both need a BMS and a regulator for a 12 V device. The trade-offs are laid out in what a LiFePO4 battery is and LiFePO4 versus NMC batteries.
Do mesh nodes need to be on the backup?
Only those required to reach the rooms where connectivity matters. Each node adds its full draw, typically 6 to 18 W, to the load total and shortens runtime proportionally.
Can a power station do the job instead?
Yes, through its regulated DC port when connector, voltage, polarity and current match, or through the AC outlet with a larger idle overhead. Sielectronix compares the two outputs in AC versus DC output on a portable power station and compares power stations with UPS units in portable power station versus UPS.
Conclusion
A router backup system works when three things line up: every powered device in the chain is covered, the output voltage and polarity match each device, and the battery’s usable energy meets the target runtime after losses. The calculation that decides most purchases is rated energy divided by the combined usable fraction and converter efficiency, and for an 18 W load and an 8 hour target that gives about 178 Wh, or 222 Wh with an ageing allowance.
The mistake to avoid is trusting a headline watt-hour figure or a 12 V label without checking the losses and the voltage at the plug. A ready-made DC unit or a matching DC port on an existing power station is the most defensible route for most households, and a DIY pack is justified only with protected modules, a fuse and the testing steps above. The next step is to read the label on the ONT adapter and the router adapter, record the voltage, current and polarity, and run the calculation in how to calculate battery capacity in watt-hours.


