NAS not shutting down on battery? Fix it

Check the shutdown trigger first — in most cases the UPS is fine and the NAS simply was never told to shut down.

Detection and shutdown are two different jobs. If the NAS sees the UPS, the cable and driver are working. What is missing is the setting that says "when the battery runs low, stop writing and shut down" — and on some systems it is off by default.

Your NAS not shutting down on battery is the most expensive UPS failure there is: the UPS beeps, the NAS keeps serving files, and then the battery runs out and the NAS dies mid-write anyway. Here is the cause, in order — from the check that tells you which half is broken to the exact setting on DSM, TrueNAS, Unraid, Proxmox and Home Assistant.

First, find out which half is broken

Before changing anything, decide whether the problem is detection or shutdown. They have different fixes, and guessing wrong wastes an evening.

Open the UPS status screen on your system — on Synology, Control Panel, Hardware & Power, UPS; on TrueNAS, System Settings, Services, UPS. If it shows the UPS model, battery charge and load percentage, detection works. The problem is the shutdown trigger, and you can skip straight to the step for your system below.

If the screen is empty or says no UPS is connected, the problem is detection, not shutdown — no setting can fix a NAS that cannot see the UPS. Start with the Fix Finder: the usual causes are the wrong cable (a charging-only cable carries no data), a USB hub between the UPS and the NAS, or the wrong driver. Synology owners should read the DSM 7.4 fix page first, TrueNAS owners with a UGREEN US3000 should read the US3000 page, and CyberPower owners should check the powerpanel driver fix. Come back here once the UPS shows up with battery data.

Step 1 — Synology DSM: Safe Mode is the shutdown

On DSM there is no button labelled "shut down on power failure". There is Safe Mode, and it is the shutdown. When the NAS enters Safe Mode it stops packages and services, flushes write caches and unmounts volumes so the file system is consistent, and then either powers off or sits in a low-activity state depending on the model and DSM version. If your NAS never enters Safe Mode, it was never configured to.

Open Control Panel, Hardware & Power, UPS, tick "Enable UPS support" and select USB UPS. Below that is the setting that matters: when the NAS enters Safe Mode — after a fixed time on battery, or when the UPS reports low battery. Either way, if the UPS reaches low battery before your set time, DSM enters Safe Mode immediately.

For most home setups, low battery is the better default. It rides out the short cuts that make up most power failures — a two-second flicker never touches the NAS — and only commits to a shutdown when the battery is genuinely running out. Switch to a fixed time of two to five minutes if your outages tend to be long, or if the UPS is old enough that you no longer trust its low-battery estimate. A NAS gains nothing from running on battery for an extra ten minutes — every minute on battery is a minute of margin lost if the battery has aged.

Two more boxes on the same screens decide what happens next. "Shutdown UPS when the system enters Safe Mode" tells the NAS to switch the UPS off once it is safe — leave it unticked if the same UPS also powers your router. And on the General tab, tick "Restart automatically after a power failure" so the NAS powers itself back on when the mains returns.

Step 2 — TrueNAS SCALE: shutdown mode and timer

TrueNAS runs NUT under the hood, and its UPS service screen offers the same two choices. Go to System Settings, Services, UPS: "Shutdown Mode" is "UPS reaches low battery" or "UPS goes on battery", and "Shutdown Timer" is the seconds to wait before shutting down — it only applies to the "goes on battery" mode.

The same rule of thumb applies as on DSM: low battery for most homes, a timer for long outages or old batteries. A timer of 120 to 300 seconds is a sensible starting point. A clean shutdown takes two to four minutes, and the timer is the delay before it starts, not the time it takes.

Two traps catch TrueNAS owners. The first is editing NUT's files by hand: TrueNAS regenerates ups.conf and upsmon.conf from its database on every boot, so hand edits vanish — use the service screen instead. The second is the "Power off UPS" box: tick it only when the UPS powers nothing else, or it kills the network for no reason. See the TrueNAS UPS page for the full setup.

Step 3 — Unraid, Proxmox and Home Assistant: NUT does the talking

On Unraid, Proxmox and Home Assistant there is no vendor UPS screen — NUT does the talking. The setting to check is the low-battery threshold and the shutdown command in upsmon.conf. NUT raises a low-battery event when the UPS reports it, and upsmon runs the shutdown command in response. If the threshold was never set, or the UPS never reports low battery because the driver is wrong, nothing happens — the exact symptom this article is about. On Unraid, use either the built-in apcupsd (APC only) or the community NUT plugin — never both, because the two fight over the USB device. On Proxmox, NUT runs on the host itself, never inside a VM. The NUT server setup guide walks through the driver table and the config, and the config generator produces copy-paste ups.conf and upsmon.conf for your UPS and OS, including the UGREEN US3000 special case.

Step 4 — The battery itself: age and frequent outages

Sometimes the trigger is set correctly and the shutdown still does not happen, because the battery is gone before the trigger fires. A lead-acid battery loses capacity every year, faster when it is hot, and one that is three or four years old may hold half of what its label promises.

A CyberPower CP1500PFCLCD holds 216 watt-hours of battery. A Synology DS923+ draws 35 to 50 watts under load, so in theory that is about four hours at 50 watts — but inverter losses and an aged battery cut that down sharply. What matters is the margin: the shutdown needs two to four minutes, and the trigger should fire while at least ten minutes of real runtime remain. A small APC BE600M1 with 84 watt-hours still gives the same DS923+ roughly an hour and a half in theory — plenty for a shutdown, as long as the battery is healthy. Use the runtime calculator with your real load and battery age to see the margin for your own setup.

Frequent outages make this worse in a way the label never mentions. A UPS battery recharges slowly — hours, not minutes. In places with daily cuts, or load shedding several times a day as in South Africa, the second outage can arrive while the battery is still half-charged from the first. The trigger settings are the same, but the margin is gone, and the honest fix is a fixed-time trigger of two to five minutes rather than waiting for low battery, plus a battery half again as large as the maths suggests. If your area cuts power daily, treat the battery as a consumable and test the shutdown every few months.

What can go wrong

The five-minute test

Do not trust any of this until you have watched it work.

  1. Confirm the UPS status screen shows battery charge and load. If it does not, fix detection first.
  2. Set the trigger — low battery on DSM and TrueNAS, or a timer of 120 seconds if you want to watch it happen.
  3. Pull the UPS input plug from the wall. Do not switch the UPS off; the point is a mains failure, not a dead UPS.
  4. Watch the clock. The NAS should enter Safe Mode or start shutting down within the time you set, plus the two to four minutes a clean shutdown takes.
  5. Plug the mains back in and confirm the NAS comes back on its own. If it does not, the "Restart automatically" box is the missing setting.

If the NAS sits there doing nothing after five minutes on battery, the trigger is not set — go back to the step for your system and check the setting actually saved. Run the same test again after every major OS update: DSM 7.4 broke USB UPS detection for many Synology owners, and an update can reset a setting that worked for years.

Quick checklist

If you are still choosing a UPS, run your combination through the compatibility checker first — it answers detect, driver and shutdown for your exact NAS, OS and UPS, with the source shown. And if your combination is not in the matrix yet, report it: verified reports become rows in the table.

Reviewed by Dharmen Bhambu · Last reviewed 30 November 2026. No lab tests have been completed yet — every verdict on this site shows its source. See how we check and the test log.