Put Your UPS to Sleep After an Outage and Automatically Power On Your NAS

WalleCube Team
7 min read
Put Your UPS to Sleep After an Outage and Automatically Power On Your NAS

When a NAS is connected to a WalleCube UPS, the UPS switches to battery power within 1 millisecond during a mains outage so your NAS stays online and shuts down safely. However, once the NAS shuts down, if the UPS keeps outputting power, the NAS will not experience a fresh power-on transition when mains power returns—so it will remain off.

Pairing WalleCube UPS No-Output Sleep with your NAS AC Power Recovery completes the unattended recovery loop:

  1. Mains power fails and the UPS switches to battery.
  2. The NAS receives the UPS outage signal and shuts down safely according to its policy, causing output current to drop.
  3. Once output current stays below your threshold for the configured sleep time (as fast as 20 seconds), the UPS enters sleep and cuts output (effectively turning off).
  4. When mains power returns afterward, the UPS wakes up and restores output—both the UPS and NAS power on together automatically.

The Critical Timing Window: Why Power Returning Within 20 Seconds Won’t Start the NAS

NAS AC Power Recovery relies on a complete power-off → power-on transition. Between the moment your NAS finishes shutting down and the moment the UPS cuts output, there is a countdown window defined by No-Output Sleep Time (minimum 20 seconds):

When Mains Power ReturnsUPS StateWill the NAS Auto Power-On?Why
After the sleep countdown finishes (20+ seconds after NAS shutdown)UPS has entered sleep and cut outputYes (UPS and NAS start together)Restored output gives the NAS a clean power-on signal, triggering AC Power Recovery
During the countdown (within 20 seconds of NAS shutdown)UPS is still counting down and supplying outputNoThe UPS switches directly from battery back to mains without cutting output, so the NAS never sees a power-loss transition

With this behavior in mind, two practical tips help you get the highest reliability:

  • Minimize the blind window: Once you confirm your NAS shutdown current is steady, you can set No-Output Sleep Time to the minimum 20 seconds. The UPS will turn off output as fast as 20 seconds after the NAS shuts down, keeping the non-trigger window as short as possible.
  • Cover the under-20-second edge case with WOL: Enable WalleCube UPS Remote Power-on (WOL) as a second layer of protection (requires the UPS to be connected to 2.4 GHz Wi-Fi and the NAS to support WOL):
    • Auto Power-On (WOL): Add your NAS MAC address under Remote Power-on → Auto Power-on in the mini program. After mains stabilizes, the UPS automatically broadcasts a Magic Packet—even if power returned inside the 20-second window.
    • Manual Wake: If a brief recovery ever leaves your NAS powered off, you can wake it anytime remotely from the mini program.

Note: Some NAS models (such as ZSpace) do not support WOL, so minimizing the sleep countdown to 20 seconds is especially helpful for maximizing AC Power Recovery reliability.

Confirm Three Prerequisites First

  1. UPS power adapter parameters are configured accurately The UPS relies on the configured adapter voltage and current to detect mains loss, power restoration, and safe charging. Follow the Power Adapter Configuration guide to enter the exact values from your original adapter label, then press the front reset pinhole so the settings take effect.
  2. NAS UPS monitoring and shutdown policy are enabled The NAS should shut down gracefully before the battery drains. Because WalleCube UPS reserves roughly 20% capacity for battery protection, prefer a custom shutdown timer (such as 5 minutes) in your NAS UPS settings—long enough to ride out brief blips while ensuring clean disk unmount and container shutdown.
  3. NAS AC Power Recovery is set to Power On In the NAS system power settings or motherboard BIOS, find AC Power Recovery or Restore on AC Power Loss and set it to Power On.

    Avoid Last State. Because the NAS performed a clean shutdown under its UPS policy, the last recorded state is “Off,” so it will stay off when power returns.

Configuring UPS No-Output Sleep alone does not shut down the NAS or enable its BIOS power-recovery option. Configure all three separately.

Configure No-Output Sleep in Three Steps

1. Connect to the UPS in the WalleCube Mini Program

Open the WalleCube WeChat mini program and connect to the UPS over Bluetooth. From the home screen, go to Advanced Configuration → No-Output Sleep Configuration.

No-Output Sleep settings in the WalleCube mini program

2. Set the Low-Current Threshold

No-Output Sleep Max Current (configurable from 50 to 999 mA) is the threshold the UPS uses to recognize that the NAS has shut down. The countdown begins only when the actual output current Iout stays continuously below this value during a mains outage.

  • 1-bay / 2-bay NAS: Start with 150–200 mA.
  • 4-bay+ NAS or Synology Standby Mode: Shut down the NAS (or let Synology DSM 7.0+ enter Standby Mode), read the steady Iout on the UPS screen, and set the threshold slightly above that steady reading (e.g., +50 mA) while keeping it well below normal operating current.

If current spikes above the threshold during the countdown, the timer resets. Never set the threshold too low hoping for faster sleep—if standby current stays above it, the UPS will never enter sleep.

3. Set the Sleep Time

No-Output Sleep Time sets how long the low-current condition must hold before the UPS cuts output and sleeps. The minimum is 20 seconds:

  • 20 seconds (fastest shutoff): After the NAS shuts down and Iout drops below the threshold, the UPS turns off output in as little as 20 seconds, minimizing both battery drain and the under-20-second recovery blind spot.
  • 30–60 seconds (extra margin): If your NAS exhibits brief current dips/spikes while spinning down drives or fans, give it 30–60 seconds so the countdown does not reset prematurely.

For example, 150 mA / 20 seconds means that during a mains outage, once Iout stays below 150 mA continuously for 20 seconds, the UPS cuts output and sleeps; if current rises to 160 mA at second 15, the 20-second countdown restarts.

Safely Test the Full Sequence

After verifying your NAS shutdown policy, AC Power Recovery, and UPS sleep settings, run a live outage test:

  1. Let the NAS run normally and confirm both INPUT and OUTPUT indicators are active on the UPS display.
  2. Unplug the mains power adapter feeding the UPS. Keep the UPS-to-NAS DC power cable and USB communication cable connected.
  3. Wait for the NAS to shut down safely according to its policy. Never unplug the UPS output while the NAS is still running.
  4. Once the NAS shuts down, check that Iout is below your threshold and wait the full configured sleep time (at least 20 seconds) until the UPS enters sleep and OUTPUT stops.
  5. Reconnect the UPS mains adapter. The UPS will wake up and restore output, and the NAS should power on automatically with it.

Common testing mistake: Plugging mains power back in right after the NAS shuts down (within the 20-second countdown) means the UPS never cut output, so the NAS will not auto-start. Always confirm the UPS has entered sleep before reconnecting mains.

Troubleshooting Common Issues

  • Power returned within 20 seconds of NAS shutdown and the NAS did not start: This is expected. Because the UPS had not finished its sleep countdown (minimum 20 seconds), output was never interrupted and the NAS saw no power-on event. Enable WOL Auto Power-on in the mini program to cover this edge case, or trigger Manual Wake remotely.
  • The UPS does not sleep when the NAS is turned off while mains power is present: Expected behavior. No-Output Sleep only runs during a mains outage on battery power. When mains is normal, the UPS keeps standby power available for the power button and WOL.
  • More than 20 seconds have passed after NAS shutdown, but the UPS still won’t sleep: Check Iout on the UPS screen. If it stays above your threshold (common on multi-bay NAS units or Synology Standby Mode), raise the threshold to roughly Iout + 50 mA. If fluctuating current keeps resetting the timer, raise the threshold slightly or set the sleep time to 30–60 seconds.
  • The UPS did cut output and woke up on mains return, but the NAS stayed off: Plug the NAS original adapter directly into a wall outlet (bypassing the UPS) and test unplugging/replugging it. If the NAS still does not boot, revisit the BIOS/system setting and confirm it is set to Power On rather than Last State.

The complete automated recovery chain is: Mains outage → NAS shuts down safely → UPS cuts output in as fast as 20 seconds → Mains returns → UPS and NAS power on together (with WOL covering the under-20-second edge case).

Learn more: No-Output Sleep Configuration, NAS Setup Guides, Remote Power-on with WOL, and Power Adapter Configuration.

Enterprise Purchase · Technical Cooperation

Click the link below to purchase online. For bulk purchases and technical cooperation, please contact us.