Skip to content

How-ToPSU

How to Set Up a UPS to Shut Down Your PC Automatically

How to make a UPS shut your PC down automatically in a power cut: connect the UPS's USB data cable, install the maker's software (CyberPower PowerPanel Personal as the example), choose Keep Computer Running or Preserve Battery Power, pick shutdown or hibernation, then test it.

By , Systems & Technical Editor

7 min read

How to Set Up a UPS to Shut Down Your PC Automatically

An uninterruptible power supply (UPS) keeps your PC running for a few minutes when the power goes off. On its own, though, it only delays the problem: if the outage lasts longer than the battery, the PC still loses power mid-task. The fix is to let the UPS tell your PC when it's running on battery, so the PC can save your work and shut down or hibernate cleanly. The steps use CyberPower's free PowerPanel Personal software as the worked example, based on CyberPower's own product page and its PowerPanel Personal for Windows user manual; other UPS makers supply their own tools that work along similar lines, so check your UPS maker's documentation for the exact menus.

If you haven't bought a UPS yet, our best UPS for a PC guide covers what to look for, and our line-interactive vs online UPS guide explains the two main types.

What you need

  • A UPS with a data connection. Most consumer UPS units with automatic shutdown support connect to the PC over USB, and CyberPower's manual lists a USB or serial port as a hardware requirement for PowerPanel Personal. Check the UPS's spec sheet or box for a USB communication port; the USB-A charging ports on some models are not the same thing.

  • The data cable. Usually supplied with the UPS. It typically runs from a USB-B or similar port on the UPS to a USB-A port on the PC.

  • The UPS maker's shutdown software. For CyberPower, that's PowerPanel Personal, which CyberPower describes as power management software for home and office that can gracefully shut down a computer during an unexpected power event. CyberPower offers versions for Windows and macOS, with a separate PowerPanel for Linux.

  • A few minutes and a safe moment to test. You'll unplug the UPS from the wall at the end to make sure it works, so save anything you're working on first.

Step 1: Plug everything in properly

  1. Plug the UPS into the wall socket and let the battery charge before you rely on it; your UPS's manual will say how long.

  2. Plug your PC's power supply into one of the UPS's battery-backed outlets. If your UPS also has surge-only outlets, those won't keep your PC running during an outage, so check the labels on the back.

  3. Plug your monitor into a battery-backed outlet too, so you can see what's happening during a power cut. Keep anything non-essential off the battery outlets so the runtime goes to your PC.

  4. Connect the UPS's data cable to a USB port on the PC. A rear motherboard port is a better choice than a front-panel port or an unpowered hub.

Step 2: Install the shutdown software

For CyberPower UPS units on Windows, the user manual describes a straightforward installation:

  1. Download PowerPanel Personal for Windows from CyberPower's website and double-click the setup file.

  2. Click Next, review and accept the licence agreement, then click Next again.

  3. Choose the installation folder and Start Menu folder, then click Next.

  4. When installation finishes, click Finish.

CyberPower's manual lists modest requirements: a Core 2-compatible CPU or better, 128MB of RAM, 350MB of free disk space and a USB or serial port. The version of the manual we read lists Windows 10 and older versions; if you're on Windows 11, check CyberPower's download page for the current release and its supported systems before installing.

Once installed, PowerPanel Personal runs as a background service, with a client window for settings and an icon in the taskbar notification area. The manual says that icon shows whether the UPS is charging, whether it's on battery or mains power, and whether it's communicating properly. Open the client by double-clicking that icon or from the Start menu.

Step 3: Check the PC can see the UPS

Before changing any settings, open the software's status screen and confirm it's actually reading the UPS. In PowerPanel Personal, the summary shows the UPS's status and an Estimated Runtime figure. CyberPower's manual explains that when the UPS is on mains power, this is the estimated runtime of the UPS; when it's on battery, it becomes the time remaining before hibernation or shutdown begins.

If the software can't find the UPS, try a different USB port, check the data cable is the one supplied with the UPS, and restart the PC. The taskbar icon's communication status is a quick way to confirm the link is working.

Step 4: Choose when the PC should shut down

This is the important part. PowerPanel Personal's Runtime page offers two options, according to CyberPower's manual:

  • Keep Computer Running: the UPS powers the PC on battery until only a set amount of battery runtime is left, then the PC shuts down gracefully. CyberPower notes this option isn't available on all UPS models.

  • Preserve Battery Power: once mains power fails and the UPS has been on battery for a set time, the PC shuts down gracefully, saving the rest of the battery.

Which to pick depends on what you need:

Your situation

Suggested option

Why

Short power blips are common and you want to keep working through them

Keep Computer Running

The PC stays on as long as safely possible, then shuts down with some runtime in reserve

You'd rather shut down early and keep battery charge for a second outage

Preserve Battery Power

The PC shuts down after a fixed time on battery, regardless of remaining charge

An unattended PC, home server or NAS-style machine

Preserve Battery Power with a short delay

Shuts down predictably even if nobody's there

Whichever you choose, leave a margin. Battery capacity drops as a UPS ages, so a setting that leaves only a minute or two of runtime today may not be enough in a couple of years. A larger reserve is the safer choice for a gaming PC with a high-wattage graphics card, as it will drain the battery faster under load.

Step 5: Choose shutdown or hibernation

In PowerPanel Personal's Advanced settings, CyberPower's manual describes a Shutdown Type option with two choices: Shutdown or Hibernation. Hibernation is only available on systems and hardware that support it.

  • Shutdown closes everything. CyberPower says that when PowerPanel Personal uses this option, unnamed files are saved automatically to a folder called Auto Saved in your Documents folder, but don't rely on that for anything important. Save your work as soon as you see a power alert.

  • Hibernation saves your open programs and documents to the drive and powers off, so you can pick up where you left off when power returns. If hibernation is greyed out, check that it's enabled in Windows' power settings.

Step 6: Set up alerts (optional)

PowerPanel Personal can also notify you about power events. CyberPower's manual describes a Notification page where you can turn software sounds on or off and set up email notifications, plus an optional PowerPanel mobile app for checking UPS status and receiving event notifications on your phone. This is useful for a home server or a PC you leave running while you're out.

The same software can schedule shutdowns and restarts by day of the week. CyberPower notes that scheduled restart relies on the PC's BIOS boot settings being enabled.

Step 7: Test it

Never assume shutdown works until you've tried it.

CyberPower's manual includes a test procedure for PowerPanel Personal, which we've followed here:

  1. Save your work and close important programs.

  2. Go to Configuration > Runtime, select Preserve Battery Power and set a short delay.

  3. Unplug the UPS from the wall (leave the PC plugged into the UPS) so it switches to battery, and wait for the delay to run out.

  4. Click OK on the pop-up dialog to let PowerPanel Personal shut down the PC.

  5. The PC should shut down, which confirms the software can do so during a real outage.

  6. Plug the UPS back in, let the battery recharge, and change the Runtime setting back to the option you actually want.

If the PC didn't shut down, recheck the data cable and the software's connection status, and make sure the runtime threshold isn't lower than the battery can actually provide.

Keep the UPS healthy

PowerPanel Personal includes a Self-Test page that runs a battery test and reports the date and result of the last test. CyberPower's manual says a failed result may be caused by a disconnected battery. It may also be caused by a battery malfunction or low battery capacity, and an aborted test points to a loss of communication. Running a self-test every few months is a sensible habit. The same manual also covers voltage sensitivity and high/low transfer settings; CyberPower warns that narrowing the voltage range can make the UPS switch to battery more often, which can shorten battery life, so leave those at their defaults unless you have a reason to change them.

Finally, make sure your UPS is big enough. If it can't power your PC for long enough to shut down cleanly, no software setting will help. Our guide to calculating PSU wattage can help you estimate what your system draws.

Our verdict

Setting up automatic shutdown is the step that turns a UPS from a few minutes of grace into real protection against data loss. Connect the UPS's data cable to the PC, install the maker's software (PowerPanel Personal for CyberPower units), choose whether to keep running until a set runtime remains or shut down after a fixed time on battery, pick shutdown or hibernation, then test it by unplugging the UPS. Leave a generous runtime margin, run a battery self-test every few months, and your PC should power down safely the next time the lights go out.

The bottom line

Setting up automatic shutdown is the step that turns a UPS from a few minutes of grace into real protection against data loss. Connect the UPS's data cable to the PC, install the maker's software (PowerPanel Personal for CyberPower units), choose whether to keep running until a set runtime remains or shut down after a fixed time on battery, pick shutdown or hibernation, then test it by unplugging the UPS. Leave a generous runtime margin, run a battery self-test every few months, and your PC should power down safely the next time the lights go out.

Sources

  1. 01CyberPower UK, PowerPanel Personal software page
  2. 02CyberPower, PowerPanel Personal Edition for Windows user manual (v2.3.4)

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

Clonezilla vs Rescuezilla: Which Free Disk Imaging Tool Should You Use?

Versus

Clonezilla vs Rescuezilla: Which Free Disk Imaging Tool Should You Use?

Clonezilla vs Rescuezilla: both are free bootable disk imaging and cloning tools that share an image format. Clonezilla adds network destinations, encryption, scripting and mass deployment; Rescuezilla offers a point-and-click desktop, image browsing and extra rescue tools.

Callum Reid6 min

ShareX vs Snipping Tool: Which Free Screenshot Tool Should You Use?

Versus

ShareX vs Snipping Tool: Which Free Screenshot Tool Should You Use?

ShareX vs Snipping Tool: Windows' built-in Snipping Tool is quick and now does local OCR and video snips, while free, open-source ShareX adds scrolling captures, richer annotation, automated after-capture tasks, uploads and many extra tools. Here's which suits you.

Callum Reid7 min

How to Set Up SillyTavern with a Local LLM Using KoboldCpp

How-To

How to Set Up SillyTavern with a Local LLM Using KoboldCpp

How to set up SillyTavern with a local LLM: installing it on Windows or Linux, loading a GGUF model in KoboldCpp, connecting the two, tuning GPU layers to fit your graphics card's VRAM, adjusting context settings and fixing common problems.

Marcus Thorne8 min

How to Install ReShade in Games (and Avoid Getting Banned)

How-To

How to Install ReShade in Games (and Avoid Getting Banned)

How to install ReShade 6.8 with the official setup tool, choose the right rendering API, use the in-game overlay and presets, handle Vulkan and DirectX 8 games, uninstall it, and which online games block it or ban players for it.

Marcus Thorne6 min