A laptop that works perfectly on the charger and dies the second you unplug it has a battery that is contributing nothing. The charger is doing all the work. This is different from short battery life — here the battery is effectively absent, and the fix depends on why.

The possibilities range from a battery that has quietly died of old age to one that is perfectly fine but disconnected or ignored by confused software. This guide helps you tell the difference before you buy a replacement. If the battery shows signs of life but drains very fast, our guide to batteries that won’t hold a charge is the better fit.

Why this happens

  • Battery at end of life. Cells degraded past the point of usefulness cannot deliver current. The battery’s own controller may report 0% or refuse to discharge at all.
  • Battery disconnected internally. A loose battery cable — common after drops or amateur repairs — leaves the battery physically present but electrically absent.
  • Stuck battery controller. The embedded controller can latch into a state where it ignores the battery entirely until hard-reset.
  • Corrupted battery driver. Windows may fail to initialize the battery device, so it never draws from it even though the hardware is fine.
  • BIOS battery disable. Some BIOS setups have a “battery disconnect” or ship-mode option (used for storage) that electrically isolates the battery.
  • Swollen or failed pack. A battery with a failed cell group may be isolated by its safety controller, cutting all output to prevent damage.

How to fix it

Work through these in order, from software checks to physical inspection.

Fix 1: Check what Windows actually sees

Start by reading the battery status Windows reports.

  1. Hover over the battery icon in the taskbar. Note exactly what it says: a percentage, “No battery detected,” or a red X.
  2. Open Settings > System > Power & battery and read the battery status line.
  3. Open an administrator Terminal and run powercfg /batteryreport. Check whether the report shows a battery at all and what Full Charge Capacity it reports.
  4. If Windows sees no battery but the laptop previously worked on battery, the issue is likely connection or controller — continue below. If it sees a battery at 0% that never charges, skip to the wear checks.

Fix 2: Check the BIOS for the battery

Get the firmware’s independent verdict.

  1. Restart and enter the BIOS (F2, F10, Delete, or Shift+Restart to UEFI Firmware Settings).
  2. Find the battery section (Dell: Settings > Battery Information; Lenovo: Power tab; HP: F2 System Diagnostics > Battery Test).
  3. If the BIOS sees the battery with reasonable health but Windows does not, you have a driver problem — go to Fix 4.
  4. If the BIOS also shows no battery, the problem is physical: connection, cable, or a dead pack. Continue to Fix 3 and Fix 6.
  5. Also check for a battery disconnect, ship mode, or battery disable option in the BIOS and make sure it is off.

Fix 3: Perform a hard EC reset

A stuck embedded controller can isolate the battery until reset.

  1. Shut down completely and unplug the AC adapter and all peripherals.
  2. If the battery is removable, take it out, wait 30 seconds, and reseat it firmly.
  3. With everything disconnected, press and hold the power button for 30 seconds.
  4. Reconnect the adapter (and battery), power on, and immediately test by unplugging once Windows loads.

Fix 4: Reinstall the battery drivers

If the BIOS sees the battery but Windows ignores it, rebuild the driver stack.

  1. Press Win + X and open Device Manager.
  2. Expand Batteries. Right-click each entry — Microsoft ACPI-Compliant Control Method Battery and any manufacturer-specific battery device — and choose Uninstall device.
  3. Click Action > Scan for hardware changes to reinstall them.
  4. Restart the laptop, then unplug the charger and see whether the laptop stays alive.
  5. Also expand System devices and check for warning icons on ACPI or chipset entries, which can block battery initialization.

Fix 5: Test with a full charge cycle

Sometimes the battery is in a deep-discharge protection state and needs coaxing.

  1. With the laptop shut down, leave it plugged in for 3–4 hours uninterrupted.
  2. Power on and check the reported percentage. If it has climbed from 0%, the battery was deeply discharged, not dead.
  3. Run a calibration cycle: discharge to 5–10%, then charge fully without interruption, as described in our calibration guide .
  4. If the percentage never moves off 0% after hours of charging, the pack is almost certainly finished.

Fix 6: Reseat the internal battery cable

For internal batteries, a loose connector is a real and common cause.

  1. Shut down, unplug everything, and remove the bottom panel (keep screws organized).
  2. Locate the battery connector on the motherboard. Unplug it, inspect for bent pins or debris, and plug it back in firmly until it seats.
  3. While inside, check the battery for swelling — any bulging means stop and replace rather than reseat.
  4. Reassemble, charge for an hour, then test on battery power.
  5. If you are not comfortable opening the laptop, a repair shop does this check in minutes for a small labor fee.

Fix 7: Replace the battery if it is dead

When every check points to a failed pack, replacement is the fix.

  1. Confirm: battery report shows near-zero full charge capacity, or the BIOS battery test reports failure, and reseating changed nothing.
  2. Buy the exact battery part number from the manufacturer or a reputable seller — cheap knockoffs can cause the same symptoms.
  3. After installing, charge fully before the first unplug test, then run a calibration cycle.
  4. If a brand-new battery also fails, the charging circuit on the motherboard is suspect — that is board-level repair territory. Microsoft’s Windows battery support pages have additional diagnostic background.

Closing

An instant shutdown on unplug looks dramatic, but the diagnosis is usually straightforward: check what the BIOS sees, reset the controller, reinstall the drivers, and reseat the connection. In most cases one of those steps brings the battery back — or confirms it is truly dead so you can replace it with confidence instead of guessing. Either way, you will know exactly why your laptop was secretly running as a desktop.

Frequently asked questions

Why does my laptop turn off immediately when I unplug the charger?
The battery is not delivering power. Usually the battery is dead or at end of life, but it can also be disconnected internally, disabled by a stuck controller, or misreported by a corrupted driver while the cells are actually fine.
Can a laptop run without a battery if it shuts down when unplugged?
Most laptops run fine on AC power with a dead or even removed battery. But sudden shutdowns on unplug mean you have zero protection against power flickers, and some models throttle performance without a battery present.
Is it the battery or the charger?
If the laptop runs perfectly on the charger and dies the instant it is unplugged, the charger is fine — it is delivering power. The fault is in the battery, its connection, or the battery management. Test by checking what Windows reports about the battery.
How do I know if my battery is completely dead?
Run powercfg /batteryreport in an administrator Terminal. If Full Charge Capacity is near zero, or Windows shows ’no battery detected’ while the BIOS also sees nothing, the battery has failed. If the BIOS sees it fine, suspect drivers or a loose cable.