TL;DR
Get the latest gadgets delivered free with Prime
- Fast, free delivery on millions of items
- Prime Video, Amazon Music and more included
- Member-only deals all year
An XDA Developers article published Oct. 26 describes using an old laptop as a modest home NAS, with its built-in battery providing backup power and time for a controlled shutdown. The approach can avoid the cost and clutter of a separate UPS for light workloads, but runtime, battery condition and storage needs determine whether it is suitable.
An XDA Developers article published Oct. 26 describes repurposing an old laptop as a network-attached storage (NAS) system, using its built-in battery to keep the device running during outages and permit a controlled shutdown. The approach may suit people with modest storage needs who want to avoid adding a separate uninterruptible power supply (UPS), but it is not a universal substitute for one.
In the XDA Developers article, the author describes a setup using a laptop with a Ryzen 5 4500U processor and a battery rated at 46 watt-hours. The author reports idle power draw of 3.2 to 8.7 watts and consumption of around 12 watts under low-to-medium serving workloads. Based on those figures, the article estimates roughly 3.5 hours of runtime at the stated workload when running on battery. Actual runtime will vary with battery health, hardware and activity.
The XDA Developers article says the built-in battery also gives the operating system time to respond to a power interruption. On Linux, battery information available through system interfaces such as /sys/class/power_supply/ can be used to monitor charge and trigger a shutdown script. The author says such a script could stop services, allow pending file operations to finish, unmount filesystems where needed and shut the laptop down when charge falls to around 15%.
The author says a power bank could extend runtime, although not every older laptop supports USB-C charging; a Type-C-to-barrel adapter may help with some models. The article presents this as a possibility, not a guarantee of compatibility. A separate UPS remains an option for systems that need longer backup time or have heavier storage demands.
Home storage · outage resilience · October 2026
Turn an Old Laptop Into a NAS With Built-In Battery Backup
A laptop can combine file serving with short-term backup power. One XDA Developers setup estimates about 3.5 hours on battery at a light workload, giving the system time to shut down safely. Suitability depends on battery health, storage needs and actual power use.
When laptop backup power is enough
An old laptop may make a compact, low-power home NAS when storage demands are modest and a short, tested shutdown window is all that is needed.
Fewer extra parts
The computer, battery and battery-status reporting are already in one device, which can reduce extra hardware, cables and cost in a small setup.
Runtime varies
Battery wear, connected drives, activity and laptop settings all affect outage time. The reported estimate is not a promise for another machine.
Power is not backup
A battery can help manage an outage, but it does not protect against drive failure, deletion or other data loss. Keep separate copies of important files.
One setup, several variables
The XDA Developers article describes a Ryzen 5 4500U laptop with a 46 Wh battery. Its figures illustrate one system rather than a broad test across laptop models.
Reported power use
Bars show the reported figures on a shared illustrative scale. Real consumption and battery runtime will vary.
Check the machine you have
A degraded battery may provide substantially less time than its original rating suggests. Multiple drives or sustained activity can also raise power demand.
USB-C charging support differs across older laptops. A Type-C-to-barrel adapter may work with some models, but compatibility is not guaranteed.
Measure power under the intended workload and test the system’s low-battery behavior before relying on it during an outage.
Give the system time to close cleanly
The article describes using Linux battery information to detect a power interruption and run a shutdown script. Exact behavior depends on the system and its storage setup.
An example low-charge trigger
Monitor battery status through Linux system interfaces such as /sys/class/power_supply/. At a chosen threshold, a script can stop services, let pending file operations finish, unmount filesystems where needed and shut down.
Detect
Read battery status and identify loss of external power.
Notify
Track charge and initiate the response at a tested threshold.
Close services
Allow pending work to finish and unmount filesystems as appropriate.
Shut down
Power off cleanly while battery remains available.
Decide after measuring and testing
The useful question is how much runtime and storage capacity your system needs—not simply whether an unused laptop is available.
Modest home NAS
Consider it if the laptop can serve the required files, its battery is in usable condition, and measured runtime gives enough time for a controlled shutdown.
Longer or heavier duty
A suitably sized UPS may be a better choice for longer outages, multiple drives, heavier activity or systems that need more predictable backup time.
What to know before repurposing
Can an old laptop work as a NAS?
It can serve files over a network with suitable storage, networking and software. Whether it meets household needs depends on capacity, performance, reliability and workload.
How long could the reported laptop run?
The article estimates about 3.5 hours at roughly 12 W from a 46 Wh battery. This is specific to its described setup, not a guaranteed runtime for other laptops.
Does a laptop battery replace a UPS?
Not in every situation. It may provide backup time for a light-duty system; a UPS may suit longer outages, heavier workloads or a multi-drive NAS better.
What should be tested first?
Check battery condition, measure power use, confirm low-charge reporting, and test that services stop and filesystems unmount as expected during shutdown.
Source: XDA Developers · Article published October 26, 2026
When Laptop Backup Power Is Enough
As the XDA Developers article explains, a laptop combines a computer, battery and power monitoring in one device, so repurposing one can reduce extra hardware, cables and cost in a small home setup. Its battery can bridge a short outage, and a monitored shutdown can reduce the risk of interrupted writes and potential filesystem or file problems.
That protection has limits. The runtime reported by the article is tied to one machine, one battery and a particular workload; it should not be treated as a promise for other laptops. A degraded battery may provide much less time, and a NAS with several drives or sustained activity can require more power. People relying on storage for important files still need a backup strategy: battery power helps manage outages but does not replace separate copies of data.
Products Worth Considering

Logitech MX Master 4 for Mac, Ergonomic Bluetooth Mouse with Haptic Feedback, Ultra-Fast Scrolling, USB-C Charging, for MacOS, iPadOS, Windo

Jackery Explorer 2000 v2 Portable Power Station with Two 200W Solar Panels

Apple iPad Air (4th Generation, 10.9-inch, Wi-Fi, 256GB) – Space Gray
As an affiliate, we earn on qualifying purchases.
Why Repurpose a Laptop
In the XDA Developers article, the author says they had tested larger five- and six-bay NAS units before choosing a compact all-flash system with only two drive slots occupied. For those relatively modest needs, adding a dedicated UPS felt like extra equipment and cabling without enough practical benefit. An unused laptop offered a way to combine storage serving with some outage protection.
A UPS can supply backup power and, when paired with monitoring software, support an automated shutdown. The laptop approach described by the author uses its own battery and built-in battery-status reporting instead. The key distinction is not that a laptop always outperforms a UPS, but that one may already have enough battery capacity for a lightly loaded system to shut down safely.
Runtime Depends on Battery Health
The power figures and runtime reported in the XDA Developers article come from the particular laptop described; the article does not provide independent testing across other models. The author does not specify the battery’s remaining capacity beyond saying it no longer holds its full original charge. Actual outage runtime will depend on battery wear, system load, connected drives and laptop settings.
Compatibility is another open question for anyone considering a power bank. USB-C charging support varies among older laptops, and the article does not establish that a Type-C-to-barrel adapter works with every model. The method also does not establish how a particular NAS operating system or storage arrangement will behave during shutdown. Testing the battery alert and shutdown process before relying on it is prudent.
Check the Setup Before Relying
Anyone considering the approach should first check the laptop’s battery condition, measure its power use under the intended workload and confirm how the system reports low charge. They can then configure and test a controlled shutdown, including whether services stop and filesystems unmount as expected. The XDA Developers article describes an individual setup rather than a formal product test, and reports no broader follow-up results.
If those checks show that the laptop cannot provide enough runtime, or if the NAS has multiple drives and heavier duties, a suitably sized UPS may be a better fit. The practical choice depends on required runtime, battery condition and workload, not simply on whether an old laptop is available.
Source: XDA Developers
Key Questions
Can an old laptop work as a NAS?
It can serve files over a network if it has suitable storage, networking and software. Whether it meets a household’s needs depends on drive capacity, performance, reliability and workload.
How long could the laptop in the article run on battery?
The XDA Developers article estimates about 3.5 hours at roughly 12 watts of use from a 46Wh battery. That is an estimate for the described setup, not a guaranteed runtime for other laptops.
Does a laptop battery replace a UPS?
Not in every situation. It can provide backup time for a light-duty system, but a UPS may be more appropriate for longer outages, heavier workloads or a multi-drive NAS.
How can the NAS shut down safely during an outage?
The XDA Developers article describes monitoring Linux battery status through system interfaces and configuring a script to stop services and shut down at a chosen charge level. The process should be tested on the specific system before relying on it.
Source: XDA Developers
