There is a special kind of frustration in a “portable” computer that dies the instant the charger comes out. One second you are working, the next the screen is black. If your laptop only lives while tethered to the wall, something between the battery and the motherboard has broken down.

The most likely culprit is a battery that has reached the end of its life, but there are several other possibilities worth ruling out before you spend money on a replacement. This guide walks through them in the order a technician would check.

Why this happens

  • The battery is worn out. After hundreds of cycles, capacity drops so far that voltage collapses under load the moment AC power disappears.
  • The fuel gauge is lying. A miscalibrated gauge can report 60 percent on a battery that is effectively empty.
  • The battery is not detected. A loose internal connector or failed battery controller makes Windows ignore the battery entirely.
  • Critical battery action is misconfigured. A power plan set to shut down at, say, 25 percent will kill the machine while the gauge still looks healthy.
  • The battery connector is loose. Drops and heat cycles can work the internal connector free just enough to break contact.
  • A swollen or damaged cell. Physical battery damage can trip the protection circuit, cutting power instantly for safety.

How to fix it

Work through these in order. Start with the checks that cost nothing before considering a replacement.

Fix 1: Confirm the battery’s real health with a battery report

  1. Press Win + R, type cmd, and press Ctrl + Shift + Enter to open an elevated Command Prompt.
  2. Run powercfg /batteryreport and open the HTML file at the path it prints.
  3. Find Design Capacity and Full Charge Capacity. Divide full charge by design: above 80 percent is healthy, 60 to 80 is tired, and below 60 is effectively dead.
  4. Scroll to the recent usage history. If the capacity line drops off a cliff, the battery is done. A proper battery health check explains how to read every section of this report.

Fix 2: Drain residual charge and reseat the battery

  1. Shut the laptop down completely and unplug the charger.
  2. Hold the power button for 20 seconds. This drains residual charge from the capacitors and forces the embedded controller to re-detect the battery on next boot.
  3. If your battery is removable, take it out, inspect the contacts for corrosion or bent pins, and click it firmly back in.
  4. For internal batteries, remove the bottom panel if you are comfortable doing so, unplug the battery connector, wait a minute, and reconnect it firmly.
  5. Boot up and check whether Windows now detects the battery. If a battery not detected error was the issue, this is usually what clears it.

Fix 3: Reinstall the battery drivers

  1. Press Win + X and open Device Manager.
  2. Expand Batteries, right-click Microsoft ACPI-Compliant Control Method Battery, and choose Uninstall device.
  3. Do the same for Microsoft AC Adapter if it is listed.
  4. Restart with the charger plugged in. Windows reinstalls both drivers during boot and re-establishes communication with the battery controller.
  5. Unplug and test. Corrupted battery drivers can make Windows misread the charge state badly enough to shut down early.

Fix 4: Check the critical battery settings in your power plan

  1. Open Control Panel > Hardware and Sound > Power Options and click Change plan settings next to your active plan, then Change advanced power settings.
  2. Expand Battery, then Critical battery level. If it is set unusually high (above 10 percent), lower it to 5 percent.
  3. Expand Critical battery action and check what it does On battery. It should be Hibernate or Sleep, not Shut down, though either way the trigger level matters more.
  4. Also check Low battery level and Low battery notification so you get warned before the critical point.
  5. Click Apply and test by unplugging at a moderate charge level. Details on these thresholds are in Microsoft’s Windows power documentation .

Fix 5: Run a full calibration cycle

  1. Charge the laptop to 100 percent and leave it plugged in for an hour after it reports full.
  2. Unplug and use it normally until it forces itself into hibernation or shuts down.
  3. Leave it off for at least an hour, then charge it back to 100 percent without interruption.
  4. This resyncs the fuel gauge with the battery’s actual chemistry. If the gauge was the liar, shutdowns at “40 percent” should stop.

Fix 6: Check the BIOS battery status

  1. Restart and enter the BIOS (usually F2, F10, Del, or Esc depending on brand).
  2. Look for a battery health or battery information page. Dell, HP, and Lenovo all show a health verdict like Excellent, Fair, or Poor.
  3. If the BIOS reports the battery as poor or failed while Windows still shows a cheerful percentage, trust the BIOS. It talks to the battery controller directly.
  4. Note the cycle count if shown. Anything past 500 to 800 cycles on a consumer battery is borrowed time.

Fix 7: Replace the battery

  1. If the report shows under 60 percent of design capacity, the BIOS says Poor, or calibration changed nothing, the battery is finished.
  2. Buy the exact part number for your model from the manufacturer or a reputable seller. Avoid no-name batteries; they lack proper protection circuits.
  3. For internal batteries, follow a teardown guide for your exact model or pay a repair shop for the 20-minute job. For removable batteries, it is a two-minute swap.
  4. After installing, run one full calibration cycle so the gauge learns the new battery. If the machine also runs hot, consider checking whether the cooling system needs attention, since heat is what kills batteries fastest.

Closing

A laptop that dies when unplugged is telling you its battery can no longer do its job. The battery report gives you the verdict in two minutes, reseating and driver reinstalls rule out the cheap fixes, and a genuine replacement restores the portability you paid for. Do not keep limping along on AC power alone unless you have good backups, because one tripped breaker is all it takes to lose unsaved work.

Frequently asked questions

Why does my laptop shut down immediately when I unplug it?
In almost every case, the battery can no longer hold a charge. Windows may report a percentage, but a worn battery’s voltage collapses the moment the charger is removed and the machine cuts out. Less common causes include a loose internal battery connector, a battery Windows cannot detect, and a power plan set to shut down at a high critical-battery level.
Can a laptop run with a dead battery still inside?
Yes, most laptops run fine on AC power with a dead battery installed, acting like a small desktop. The risk is data loss: any power blip kills the machine instantly since there is no battery backup. If the battery is swollen, remove it or have it replaced immediately instead of continuing to use it.
My battery shows 100 percent but the laptop still dies unplugged. Why?
The percentage is an estimate from the fuel gauge, and a badly degraded battery can read 100 percent while storing almost no energy. Run powercfg /batteryreport and compare full charge capacity with design capacity. A huge gap confirms the battery is worn out even though the gauge looks healthy.
Is it worth replacing the battery or should I buy a new laptop?
If the laptop is under four years old and otherwise performs well, a replacement battery is far cheaper and usually restores full portability. Genuine batteries cost a fraction of a new machine. Only consider replacing the laptop if it is already slow, damaged, or the battery is soldered and uneconomical to service.