GPU PC Fine on Mains Power but Shuts Down or Restarts When the UPS Switches to Battery? Mains Comparison, Simulated Sine Wave, UPS Capacity & Battery Age Diagnosis Guide

2026-11-03 | GPU Repair | 16 minutes | HK GPU Fix Editorial

GPU PC Fine on Mains Power but Shuts Down or Restarts When the UPS Switches to Battery? Mains Comparison, Simulated Sine Wave, UPS Capacity & Battery Age Diagnosis Guide

Key Takeaways

When a PC runs flawlessly on mains power but shuts down or restarts the moment a UPS switches to battery, the battery path — not the PC itself — is the suspect: this guide uses mains, light-load, and reduced-load comparisons to separate waveform incompatibility from capacity shortage and battery ageing.

What Exactly Counts as This Symptom

This guide deals with a narrowly shaped symptom, and the shape has to be matched first. The computer, with its graphics card installed, runs normally on mains power: games, work, and idle use are all stable, with no shutdowns or restarts. The failure appears only at the moment the uninterruptible power supply, the UPS, switches from mains to battery power. At that switching moment the machine shuts down or restarts, instead of continuing on battery. The defining feature is the trigger. Mains is fine; the battery switch is not.

Several lookalike situations must be ruled out first, or the whole diagnosis will head in the wrong direction. First, a computer that also shuts down or restarts on mains power has a mains-side power problem, and this guide will not help it: that situation belongs with power-supply capacity and transient-load diagnosis. Second, a computer that is simply plugged into the wrong kind of UPS socket, a surge-only socket that never supplies battery power, will lose power at once when mains fails, but that is a wiring mistake, not a battery-switch failure. Third, abnormal behaviour that only appears after a power cut has already happened, and then lingers, is a post-outage problem, not a switching-moment problem. Fourth, a UPS that shows no lights, no sound, and no response at all is a UPS power or switch problem, not a waveform or capacity problem. Match the symptom before changing any equipment, because a UPS replaced for the wrong symptom will leave the real fault untouched.

The mains comparison is the boundary that defines this whole guide, and it is worth stating plainly at the start. Normal behaviour on mains proves the mains power path, including the computer power supply and the graphics card power delivery under mains, is basically working under the load tested. It proves nothing about the battery path, because the battery path is a different route that has not been exercised yet. A UPS sitting beside a computer on mains is, in most home designs, largely standing by: mains passes straight through to the computer while the battery only charges. A system that has never actually run on battery has never tested its battery route at all.

The Mechanism: Why Mains Can Be Perfect and Battery Can Still Fail

Two things happen at the switching moment. First, the UPS must change over from mains to its battery inverter output, and that changeover leaves an extremely brief gap in supply. Second, the output waveform can change: mains is a smooth sine wave, while a battery inverter output may be a different shape entirely. A modern computer power supply, especially one with active power factor correction, known as Active PFC, is sensitive to the shape of its input. Active PFC is present in essentially all power supplies carrying 80 PLUS certification, and its control circuit assumes a smooth sine-wave input. Faced with a stepped waveform and its zero-output gaps, the control circuit can judge the supply to be abnormal and shut down, or the UPS itself can judge the load to be an overload and cut its output. Either way the visible result is the same: instead of riding through the switch, the machine shuts down or restarts.

Waveforms must be described precisely, not lumped together as sine wave. There are three broad kinds, and the distinction between the first two is the heart of this guide. A pure sine wave, also called a true sine wave, is smooth and continuous like mains, and it has the best compatibility. A simulated sine wave, also called a stepped-approximated sine wave, approximates a sine wave with steps, leaving zero-output gaps between steps; it is common in lower-cost home UPS units, it drives ordinary household appliances without trouble, but some Active PFC power supplies do not tolerate it. A square wave is the roughest shape, suitable only for coarse equipment, and it is not suitable for a computer power supply; it is mentioned here only so it can be recognised, not explored further.

The crucial point is that a simulated sine wave is not automatically guilty. Tolerance for a stepped waveform varies by power supply model: some tolerate it, some do not, and the same UPS can give different results with different power supplies. Writing simulated sine wave equals the culprit without a test would be an unproven assumption, and writing that it must be harmless would be equally unproven. Only a comparison test can settle it for a particular pairing of UPS and power supply. By the same logic, a UPS whose indicator lights look normal has proved nothing about battery operation: lights and a light-load self-test do not exercise the battery under real load.

Capacity is a second, independent axis. The UPS output capacity must be enough for everything connected to its battery sockets at the same time: the main unit, the monitor, and any other battery-backed equipment. If capacity is insufficient, the UPS can sound an overload alarm or cut its output at the switching moment, and that symptom looks very similar to waveform incompatibility. The two must be tested separately. Capacity markings also need care: UPS units commonly quote both VA, which is apparent power, and watts, which is real power, and the two figures cannot be treated as equal. When comparing capacity, the watt output is the figure to use, and a large VA number alone must not be taken as proof of enough capacity.

Battery ageing is a third, independent axis. A battery loses its ability to carry load as it ages and is used: its internal resistance rises and its load-carrying ability falls. The classic pattern of an aged battery is that a light load on battery holds up, while a heavy load collapses at once on switching, or that the time the battery can sustain the load has clearly shortened. A UPS self-test is often only a light-load check, and it may pass while the battery still fails under heavy load. A self-test pass must never be written up as proof of battery health.

Finally, there is a wiring trap that is often mistaken for a battery failure. Many UPS units provide two kinds of socket: battery-backed sockets, which keep supplying power during an outage, and surge-only sockets, which only protect against surges and go dead at once when mains fails. A computer plugged into a surge-only socket will lose power immediately when mains fails, looking as if the UPS did nothing at all, when in fact the computer was never connected to the battery route. That pattern, power lost at once with no switching process at all, must be separated from the switching-moment failure covered here, in which there is a changeover attempt that then fails.

WaveformShapeCompatibility note
Pure sine wave, also called true sine waveSmooth and continuous, like mainsBest compatibility with computer power supplies
Simulated sine wave, also called stepped-approximated sine waveSteps approximating a sine wave, with zero-output gaps between stepsCommon in lower-cost home UPS units; some Active PFC power supplies tolerate it and some do not, so only a test can settle a particular pairing
Square waveRoughest shapeOnly for coarse equipment; not suitable for a computer power supply
ObservationMore likely explanationWhat to do next
Mains is stable, battery switch causes an immediate shutdownBattery path problem: waveform, capacity, battery, or UPS faultWork through the socket, light-load, and reduced-load tests in order
Light load holds on battery, heavy load collapses at onceCapacity shortage or aged battery losing load-carrying abilityRun the reduced-load comparison before blaming waveform
Even a light load collapses at once on batteryWaveform incompatibility or UPS fault is more likelyConsider the swap-load comparison if a second machine or UPS is available
Reducing the battery-socket load makes the switch succeedTotal load exceeded capacityKeep the reduced load and recheck the watt total of everything on battery sockets
The machine fails at the switching moment but starts while already on batterySwitching-moment waveform or gap problem rather than capacityUse the switch-versus-start comparison described below
The machine fails even when started on battery, or collapses quickly on batteryBattery ageing or capacity problemCheck battery status, age from purchase or replacement date, and physical condition

Step One: The Mains Comparison

This is the decisive first step. Connect the computer directly to a wall socket on mains, bypassing the UPS entirely, and run it under the same load as before, the same game or the same work load. If it also shuts down or restarts on mains, stop: this is not a UPS problem, and the investigation belongs with mains-side power diagnosis. If it runs completely normally on mains, the problem is locked to the UPS chain, and the rest of this guide applies. As with every comparison in this guide, the load must be kept the same, or the result cannot be attributed to the power route.

Step Two: The Socket and Switch Check

Before any battery test, check the basics that are embarrassing precisely because they are so easy to miss. Confirm the computer power cable is plugged into a battery-backed socket on the UPS, not a surge-only socket, and confirm the UPS itself is switched on, including any separate battery switch the unit may have. Then write down everything else connected to the battery sockets on the same UPS: the monitor, external drives, a printer, a second monitor, and anything else. That list is the total battery load, and it will be needed for the reduced-load test. If the computer was on a surge-only socket, correct the connection and retest before drawing any conclusion about the UPS itself. A wiring correction is not a UPS fault, and it must not be reported as one.

Step Three: The Light-Load Battery Test

Save all work first, and only then test the battery switch under idle, light-load conditions. Never run a battery-switch test in the middle of unsaved work or a game: a shutdown during the test would destroy data, and that loss would be caused by the test itself, not revealed by it. Following the UPS maker own battery-test method, simulate a mains interruption while the machine is idle, and watch whether it rides through the switch. This light-versus-heavy comparison is the most important split in the guide, and it must be recorded clearly.

If the idle machine rides through the switch but a heavy load collapses at once, capacity or battery load-carrying ability is the rising suspect. If even the idle machine collapses at once on switching, waveform incompatibility or a UPS fault is the rising suspect. Either way, the light-load result alone does not settle the diagnosis: it only directs the next test, and it must be combined with the reduced-load result before any conclusion is drawn.

Step Four: The Reduced-Load Comparison

Move non-essential equipment off the battery sockets, for example a printer, external devices, or a second monitor, leaving only the main unit and one monitor, and repeat the battery-switch test. Remove one category at a time, not everything at once, so the result can be attributed. If the reduced load rides through the switch, total load exceeding capacity is indicated. If the reduced load still collapses, waveform, battery, or UPS fault is more likely. Note the limit of this test carefully: a reduced load succeeding points at total load, but it does not prove the waveform is harmless, because a lighter load is also easier for a marginal waveform to sustain. The two axes interact, and only the full set of comparisons separates them.

Step Five: The Swap-Load Comparison

If conditions allow, test with a different known-good computer or load on the same UPS, or connect the suspect computer to a different known-good UPS, and repeat the battery-switch test. Whichever side the failure follows points at that side: if it follows the computer, the power supply pairing is implicated; if it follows the UPS, the UPS is implicated. Readers with no second machine or UPS should skip this step entirely. Nobody should be told to buy equipment merely to run a test. A skipped step is an honest gap in the evidence, and it should be recorded as such rather than filled with a guess.

Step Six: Switch Moment Versus Starting on Battery

This comparison separates a switching problem from a capacity or battery problem. If the machine fails at the exact switching moment, yet starts up successfully while the UPS is already running on battery under the same load, the contrast points at the switching instant itself, its waveform change and its brief gap, rather than at capacity. Conversely, if the machine cannot start on battery at all, or collapses quickly once running on battery, battery ageing or capacity is the stronger suspect. This comparison must be described accurately: starting on battery succeeding does not mean there is no problem, it means the problem is concentrated at the switching moment, and the switching moment is exactly when a real outage strikes.

Step Seven: The Battery Status Check

Check the UPS battery status indicator and self-test result, and note the battery age counted from its purchase or replacement date, not from a guess. Look, without opening the unit, for swelling, leakage, or an unusual smell. If any of those physical signs is present, stop using the unit and do not attempt to open it or replace cells yourself: a UPS contains high voltage and battery safety hazards, and any battery replacement must follow the maker guidance or go through a qualified channel. Remember throughout that a self-test pass is a light-load check only, and it does not prove the battery is healthy under heavy load. An aged battery can pass a self-test and still collapse under heavy load, and that pattern is consistent with ageing rather than contradictory to it.

Boundary Cases: When It Is Not a UPS Battery Problem

First, shutdowns or restarts on mains as well: a mains-side power problem, not a UPS problem. Second, a computer on a surge-only socket: a wiring problem, corrected by moving to a battery socket, not a UPS fault. Third, abnormal behaviour that only lingers after a power cut, rather than appearing at the switching moment: post-outage diagnosis, not switching-moment diagnosis. Fourth, a UPS with no response at all, no lights, no sound, and no start: a UPS supply, fuse, or switch problem, not a waveform question. Fifth, a UPS that was never switched on, or whose battery switch was never turned on: a switch-state check comes before any waveform discussion. Sixth, an online, double-conversion UPS, in which the inverter runs continuously and there is no changeover gap, is in principle not subject to the switching-gap problem; but that topology has its own cost, noise, heat, and efficiency trade-offs, it is mentioned here only as a contrast, and it must not be presented as a guaranteed cure, because capacity and battery ageing apply to every topology.

What a Home UPS Is For

A home UPS is designed to give time to save work and shut down normally during an outage, not to let a machine keep running at full load through an outage. Expectations must be set on that basis. A battery-switch test that succeeds under light load is a success in the sense that matters: the machine survives the switch and the user can save and shut down. Treating a UPS as a device for continuing to play a demanding game through an outage misunderstands its purpose, and it also loads the battery path at exactly the moment when that path is most stressed. The diagnostic goal is a switch that holds long enough for a safe shutdown, not indefinite full-load running.

Common Misconceptions

Misconception one: normal behaviour on mains means the whole power setup is fine. The mains route and the battery route are two different routes, and a route never exercised has never been verified. Misconception two: a UPS with its lights on and power present means the battery is healthy. Indicator lights and a light-load self-test do not show heavy-load carrying ability, and an aged battery can pass idle and fail under load. Misconception three: a simulated sine wave must always fail, or must always work. Tolerance varies by power supply model, so either claim made without a test is unproven. Misconception four: a large VA number means enough capacity. VA is not watts, capacity must be compared in watts, and the total must include everything on the battery sockets. Misconception five: a bigger computer power supply fixes a UPS capacity problem. Power supply wattage and UPS output capacity are different things, and a larger power supply raises the possible total load, which can make a UPS overload more likely, not less. Misconception six: a battery-switch test can be run at any time by pulling the plug. Tests must be run after saving work and under idle conditions, or data loss caused by the test will be mistaken for a diagnostic result. Misconception seven: a UPS lets a machine keep gaming through an outage. A home UPS is for saving work and shutting down safely, not for continued full-load running. Misconception eight: battery cells can simply be swapped at home. A UPS contains high voltage and battery hazards, and replacement must follow maker guidance or a qualified channel, never home dismantling.

When to Stop and Seek Repair

Stop testing if any of the following appears. The battery shows swelling, leakage, or an unusual smell. The UPS shows no response at all. The computer also fails on mains, which removes the UPS from the diagnosis. The failure comes together with other symptoms, such as burning smells, abnormal sounds, repeated UPS alarm cut-outs, repeated breaker trips, or damage to other equipment, which go beyond a UPS pairing question. Bring four items to inspection: the mains comparison result under the same load, the light-load versus heavy-load battery results, the reduced-load result with the list of what was removed, and the battery status and age from its purchase or replacement date. Those four let repair staff start from the battery path directly, without repeating tests already done.

Readers nearby are welcome to bring their records to HK GPU Fix for advice, at Room 1209, Dali Plaza, Shek Mun, telephone 2186 8010, WhatsApp 6558 6806. Describing the mains result, the light-load result, and what was on the battery sockets is enough for a quick judgement on the next step.

Frequently Asked Questions

Why does my PC run fine on mains but die when the UPS switches to battery?

Because mains and battery are two different supply routes. On mains, most home UPS units pass mains straight through while the battery only charges, so normal mains behaviour never tests the battery inverter, its waveform, its capacity, or its ageing.

Does a simulated sine wave UPS always cause this problem?

No. Tolerance for a stepped waveform varies by power supply model, so some pairings work and some do not. Only a comparison test on the actual pairing can settle it, and neither always fails nor always works should be claimed without that test.

What is the difference between VA and watts on a UPS?

VA is apparent power and watts is real power, and the two figures cannot be treated as equal. When comparing capacity, use the watt output, and include every device connected to the battery sockets in the total.

Why does my UPS pass its self-test but still fail under load?

A self-test is often only a light-load check. An aged battery can pass it while still collapsing under heavy load, because ageing reduces load-carrying ability in a way a light check does not reveal.

Should I test the battery switch during a game or unsaved work?

No. Save all work first and test under idle conditions. A shutdown during an unprepared test destroys data, and that loss is caused by the test itself rather than revealed by it.

Will a bigger power supply fix a UPS capacity problem?

No. Power supply wattage and UPS output capacity are different quantities. A larger power supply raises the possible total load, which can make a UPS overload more likely, not less.

Can a UPS keep my PC gaming through a power cut?

No, that is not what a home UPS is for. Its purpose is to give time to save work and shut down normally. A switch that holds under light load long enough for a safe shutdown is the correct expectation.

When should I stop testing and seek help?

Stop if the battery shows swelling, leakage, or an unusual smell, if the UPS shows no response at all, if the PC also fails on mains, or if the failure comes with other electrical symptoms. Bring the mains, light-load, reduced-load, and battery-status records along for inspection.

Related articles

Related services

If you need Power connector repair, see these service pages: