You have connected your laptop to a power outlet, but instead of the usual charging you see the message "0 available, mains power" — the battery does not charge, and the device only works from the adapter? This problem occurs on models Lenovo, HP, Dell, Asus and even MacBook, regardless of the age of the equipment. In most cases, it is not a breakdown of the battery or power supply that is to blame, but a malfunction of the power controller, drivers or BIOS.

In this article we will look at all possible reasons - from simple contamination of contacts to hidden Windows settings that block charging. You'll learn how to diagnose the problem without disassembling your laptop, what commands will help you reset the battery data, and when repairs are actually needed. We will pay special attention to “hidden” BIOS settings that manufacturers do not advertise, but which often become the source of the problem.

Why does my laptop write “0 available” and not charge the battery?

Message "0 available, mains power" means that the laptop recognizes the connected adapter, but cannot determine the state of the battery or has blocked its charging. This is not always due to a physical breakdown of the battery - in 60% of cases software glitches are to blame. Here are the main reasons:

  • 🔋 Battery controller failure — the microcircuit inside the battery has ceased to correctly transmit data about capacity and status.
  • 🖥️ ACPI Driver Issues - Windows mismanages power due to outdated or damaged drivers.
  • Faulty power supply — the adapter produces insufficient voltage (for example, 18V instead of 19.5V), and the laptop refuses to charge the battery.
  • 🔧 BIOS Settings - in some models (Lenovo ThinkPad, Dell Latitude) there are hidden options that limit charging.
  • 🧹 Contact contamination - oxidation or dust on the battery/motherboard connectors interrupts the connection.

The first thing to do is disconnect the laptop from the network, remove the battery (if it is removable) and press the power button for 30 seconds. This will release any residual charge in the capacitors and sometimes restore communication with the controller. If after this the problem remains, read on.

📊 How often do you clean your laptop battery contacts?
  • Once every six months
  • Only when problems arise
  • Never cleaned
  • I don't know how to do this

How to check the power supply and battery without tools

Before taking your laptop to a service center, make sure that the problem is not with the adapter or cable. Here 3 diagnostic methods without a multimeter:

  1. Testing on another laptop - if you have a second compatible laptop, connect your power supply to it. If it does not charge there either, the adapter is faulty.
  2. Visual inspection — inspect the cable for kinks, melting or damage to the insulation. The area near the plug is especially vulnerable.
  3. Test with battery removed — disconnect the battery (if it is removable) and turn on the laptop only from the mains. If it works stably, the problem is in the battery or its connection.

If the power supply is working, but the laptop still shows "0 available", try update battery controller drivers:

  1. Open Device Manager (Win + X → Device Manager).
  2. Expand section Batteries.
  3. Right click on Microsoft AC Adapter And ACPI compliant battery management, select Update driver.
  4. Select Search for drivers on this computerSelect a driver from the list → install the latest one.
💡

If Device Manager shows an exclamation mark next to the battery, try removing the device and restarting your laptop - Windows will reinstall the driver automatically.

Resetting Battery Data via BIOS and Windows

If the drivers are updated, but the laptop still does not see the battery, try reset controller data. This helps when the battery is physically intact, but its parameters are lost (for example, after a deep discharge).

Method 1: Reset via BIOS (works on Lenovo, HP, Acer):

  1. Turn off the laptop, unplug the charger.
  2. Clamp Fn + Esc (for Lenovo) or Win + B (for HP) and connect the power. Hold for 10–15 seconds.
  3. Turn on the laptop - the battery should be detected.

Method 2: Commands to reset in Windows:

powercfg /batteryreport /output "C:\battery_report.html"

powercfg /energy /output "C:\energy_report.html"

These commands will generate reports on battery status and power consumption. Open the file battery_report.html and find the lines Design Capacity (factory capacity) and Full Charge Capacity (current capacity). If the difference is more than 30%, the battery is worn out.

What should I do if the report shows "Battery not detected"?

This means that the battery controller has completely shut down. Try disconnecting the battery, cleaning the contacts with alcohol and connecting it back. If it doesn’t help, you need to replace the battery or reflash the controller (in the service).

Hidden BIOS settings blocking charging

Many manufacturers add options to the BIOS to extend battery life, but sometimes they don't work correctly. For example, in laptops Lenovo ThinkPad there is a function Battery Threshold, which limits the charge to 60% or 80%. If this threshold is lost, the laptop may show "0 available".

How to check and change settings:

  1. Reboot your laptop and enter the BIOS (usually F2, Del or Esc when loading).
  2. Find a section AdvancedBattery Settings (names may vary).
  3. Look for options like:
    • Battery Health Mode - install Disabled.
    • Start Battery Charge Threshold - install 100%.
    • AC Battery Auto Learn - enable (Enabled).
  • Save changes (F10) and reboot.
  • Manufacturer Laptop model Option in BIOS Recommended value
    Lenovo ThinkPad T/X/P-series Battery Start Threshold 100%
    Dell Latitude, Precision Battery Charge Configuration Standard
    HP EliteBook, ProBook Battery Health Manager Disabled
    Asus ZenBook, ROG Battery Life Extender Disabled
    💡

    If the BIOS does not have options for the battery, update its firmware on the manufacturer's official website. Outdated BIOS versions often do not work correctly with modern batteries.

    Cleaning contacts and physical diagnostics of the battery

    If software methods do not help, the problem may be oxidized or dirty contacts. Over time, dust accumulates on the battery and motherboard connectors, which disrupts the connection. Here's how to clean them safely:

    Turn off the power to the laptop (remove the battery and turn off the charger)

    Soak a cotton swab in isopropyl alcohol (90%+)

    Gently wipe the contacts on the battery and in the laptop socket

    Let dry 10-15 minutes before connecting

    -->

    If after cleaning the laptop still does not see the battery, check it physical condition:

    • 🔍 Bloating of the body — if the battery is swollen, it needs to be replaced urgently (this is dangerous!).
    • 🔌 Voltage check - if you have a multimeter, measure the voltage at the battery contacts. Standard for Li-ion: 10.8–11.4V (for 3-cell), 7.2–7.6V (for 2-cell).
    • 🔄 Test on another laptop - if there is an identical model, try installing your battery in it.
    ⚠️ Attention: If the battery is swollen or has mechanical damage, do not try to disassemble or charge it. Lithium-ion batteries may catch fire if damaged. Take it to a recycling point or service center.

    When repair or replacement is required

    If none of the methods help, the problem may be:

    • 💻 Motherboard problems — the power controller or charging circuit has burned out.
    • 🔋 Battery failure - even if it did not swell, its capacity could drop to a critical level.
    • Power connector failure - often found in laptops Asus And Acer after intensive use.

    Signs that you need professional help:

    • Laptop won't turn on without battery (even from the network).
    • Adapter gets hot or makes strange noises (squeak, crackle).
    • B Device Manager battery is displayed as Unknown device.

    Repair cost:

    Type of repair Average price (₽) Due date
    Replacing the battery 2 000 – 8 000 1 day
    Power connector repair 1 500 – 4 000 2–3 days
    Replacing the power controller on the motherboard 5 000 – 15 000 3–7 days
    Flashing the BIOS (if it fails due to an update) 1 000 – 3 000 1 day
    ⚠️ Attention: If you decide to replace the battery yourself, buy only original or certified model. Cheap analogues can not only quickly fail, but also damage the motherboard due to voltage mismatch.

    FAQ: Frequently asked questions about the “0 available” problem

    Can I use my laptop if it shows “0 available”?

    Yes, but only from the network. If you turn off the power, the laptop will turn off immediately. Long-term operation without a battery is not recommended - the motherboard may burn out during power surges.

    Why did the problem persist after replacing the battery?

    The new battery may not be compatible with your model or the controller may need to be reset. Try updating the BIOS and performing a reset via powercfg (see section above).

    The laptop only charges to 60% and shows "0 available". What to do?

    This is the job of the battery life extension feature. Go into BIOS and disable options like Battery Health Mode or Charge Threshold.

    Could a virus be causing the problem?

    Theoretically, yes, if the virus has damaged drivers or system files responsible for power management. Perform a full antivirus scan and restore the system using sfc /scannow.

    How to check if the power supply is at fault?

    Connect a known working adapter with the same characteristics (voltage and current). If the laptop starts charging the battery, your power supply is faulty.