Your laptop runs perfectly on the charger, but the moment you unplug it, the screen goes black — instantly, no shutdown sequence, no warning. It’s behaving like a desktop with no UPS, which means the battery is contributing exactly nothing. The fix depends entirely on why the battery isn’t contributing, so let’s diagnose first and spend money never (or at least, only when the diagnosis demands it).

There’s a useful distinction to make before you start: does the laptop show a battery percentage while plugged in, or does it report no battery at all? A shown-but-useless battery points to worn cells or a locked controller. No battery shown at all points to a driver failure or a disconnected pack. Keep that observation in mind as you work through the steps — it tells you which fixes are most likely to help.

Why this happens

  • The battery is worn to nothing. This is the cause in the vast majority of cases. When full charge capacity drops below a few percent of design capacity, the battery can’t hold enough charge to keep the system alive for even a second.
  • The battery controller has locked out. After a deep discharge or a power event, the battery’s internal safety circuit can disconnect the cells permanently. The battery is physically present but electrically inert.
  • The internal battery connector is loose or corroded. The laptop runs on AC because the adapter feeds the motherboard directly; the battery is simply out of the circuit.
  • Critical battery action is misconfigured. If the critical battery level is set too high, or the battery gauge is miscalibrated, Windows may trigger an instant shutdown the moment AC power disappears.
  • A failed charging circuit on the motherboard means the battery hasn’t actually been charging at all — the “100%” you saw was a fiction.
  • A swollen battery may have been disconnected internally by its own safety mechanisms, or a technician may have unplugged it for safety.

How to fix it

Work through these in order. The first two steps diagnose; the rest fix the specific cause you find.

Fix 1: Run the battery report before touching anything

Don’t guess — measure. This tells you whether the battery is dead or just disconnected.

  1. Press Win + X, choose Terminal (Admin), and run powercfg /batteryreport.
  2. Open battery-report.html from your user folder and find the Installed batteries section.
  3. If Full Charge Capacity is a tiny fraction of Design Capacity (say 5% or less), the battery is worn out — skip to Fix 6.
  4. If the report shows no battery installed at all, either the battery is disconnected (Fix 5) or the controller is locked (Fix 2).

Fix 2: Power-drain reset to unlock the battery controller

A locked battery controller can sometimes be revived with a full power drain.

  1. Shut the laptop down completely via Start > Power > Shut down.
  2. Unplug the charger and all peripherals. If the battery is removable, remove it.
  3. Hold the power button for 30 seconds to drain residual charge.
  4. If the battery is internal, leave everything unplugged for 10 minutes before reconnecting.
  5. Reconnect the battery and charger, charge for at least an hour, then test unplugged.

If you want the full background on gauge calibration problems that mimic this, see why a battery won’t hold a charge .

Fix 3: Reinstall the battery drivers

A broken ACPI driver can report phantom battery levels and trigger shutdowns.

  1. Open Device Manager via Win + X.
  2. Under Batteries, uninstall Microsoft ACPI-Compliant Control Method Battery and Microsoft AC Adapter.
  3. Shut down, unplug for 30 seconds, reconnect, and power on. Windows reinstalls fresh drivers.

Fix 4: Check the critical battery settings

A misconfigured critical level can force an instant shutdown on unplug.

  1. Open Control Panel > Power Options > Change plan settings > Change advanced power settings.
  2. Expand Battery and check Critical battery level — it should be around 5%, not 50% or higher.
  3. Check Critical battery action for both On battery and Plugged in — make sure it says Shut down or Hibernate, and that the level is sensible.
  4. Also expand Low battery level and confirm it’s not set absurdly high.

Fix 5: Reseat the internal battery connector

If the report shows no battery, the connector may have worked loose.

  1. Power off, unplug, and remove the bottom panel (check a teardown guide for your exact model first).
  2. Locate the battery cable connecting to the motherboard. Disconnect it, inspect for corrosion or bent pins, and reconnect it firmly until it clicks.
  3. Reassemble, charge for 30 minutes, and test. If Windows now sees the battery, run a battery report to check its health.

Fix 6: Test with the charger disconnected from a dock

This one is easy to overlook: if your “charger” is actually a USB-C dock or hub, the dock may be failing to pass power to the battery charging circuit even though it runs the laptop fine.

  1. Unplug from the dock and connect the laptop’s original charger directly.
  2. Charge for an hour, then test unplugged.
  3. If the battery charges fine on the direct charger, the dock was the problem — it was powering the system but never engaging the battery charger. Replace the dock or power it with its own adapter so it stops starving the charging circuit.

Fix 7: Replace the dead battery

When the report confirms the battery is worn out, replacement is the only fix. Buy a genuine battery matched to your exact model number from Dell , HP , or Lenovo support pages. Cheap third-party packs often have fake capacity ratings and poor safety circuits — this is the one part where the genuine article is worth it. If you’re not comfortable opening the chassis, a local repair shop will typically do the swap for a modest labor fee.

Fix 8: Rule out the motherboard charging circuit

If a brand-new genuine battery still won’t take a charge, the charging circuit on the motherboard has likely failed. Symptoms include the battery never charging past a low percentage even after hours, or the laptop not recognizing any battery at all. This is board-level repair — contact the manufacturer or a board-repair specialist rather than buying more batteries.

Closing

A laptop that dies on unplug is almost always telling you one thing: the battery is out of the picture. The battery report reveals whether it’s worn out, locked, or disconnected, and each of those has a clear path forward. Diagnose first with the report, try the free resets, and only buy a replacement when the numbers prove the old battery is truly finished.

Frequently asked questions

Why does my laptop shut down immediately when I unplug it?
Almost always because the battery can no longer deliver power — it’s dead, deeply discharged and locked out, or disconnected internally. Less commonly, a critical battery level setting forces an instant shutdown, or a motherboard charging circuit has failed.
Can I fix a laptop that only works when plugged in?
Yes, if the cause is a locked battery controller, a loose connector, or a software setting. Run the power-drain reset and check the battery report first. If the battery’s full charge capacity is near zero, only a replacement will fix it.
Is it safe to keep using a laptop that only runs on AC power?
Generally yes, but treat it like a desktop: any power interruption means instant data loss. Also, if the battery is swollen, stop using it entirely and have it removed — a swollen battery is a fire risk, not just an inconvenience.
How do I confirm the battery is really dead before buying a new one?
Generate a battery report with powercfg /batteryreport. If Full Charge Capacity shows a tiny fraction of Design Capacity — or the report shows no battery at all while the BIOS also shows none — the battery is done. A healthy reading points to a connector or software issue instead.