Technology

10 min read

Why your laptop’s battery percentage is only a guess

The number in the corner of your screen is an estimate made by a small chip. Here is how it works, why it drifts, and how to keep your battery healthier for longer.

Tomás Reyes

Technology correspondent

The number in the corner of your screen looks precise. It says 47 per cent, and a minute later it says 46, as if someone inside the laptop were watching a tank drain through a glass window. Then one afternoon it sits at 20 per cent for half an hour, drops to 9, and the machine shuts down before you can find the charger.

Nothing is broken when this happens. Nobody can look inside a lithium-ion cell and read off how much energy is left, so the percentage is an estimate, made by a small chip using a handful of indirect clues. Most of the time the estimate is good. Understanding how it is made explains why it sometimes isn’t, and what you can do to keep both the number and the battery behind it in better shape.

A small chip doing guesswork

Every modern laptop battery pack contains a fuel-gauge chip, sometimes called a battery management or gas-gauge IC. Its job is to report how full the battery is, how healthy it is and roughly how long it will last. The operating system asks the chip for these figures and draws the icon you see.

The chip has no direct way to count the lithium ions sitting in the anode, which is where the stored charge lives. It can measure only a few things from the outside: the voltage across the cells, the current flowing in or out, and the temperature. Everything else, including the percentage, is worked out from those measurements plus a model of how this type of cell usually behaves.

In practice fuel gauges combine two main methods, each of which covers for the other’s weaknesses.

Reading the voltage

The simplest clue is voltage. A lithium-ion cell sits at a higher voltage when it is full and a lower one when it is empty. A typical cell reads around 4.2 volts when fully charged and somewhere near 3 volts when it is treated as empty. If you know the curve that links voltage to state of charge, you can read one off the other.

The catch is that voltage only tells the truth when the battery is resting. As soon as current flows, the internal resistance of the cell pulls the measured voltage down, more so under heavy load and more so when the cell is cold. Open a demanding app and the voltage sags; close it and the voltage creeps back up. A gauge relying on voltage alone would show a percentage that jumped around with every change in workload.

Counting the charge

The second method is coulomb counting. The chip measures current many times a second through a tiny resistor and adds it up over time, like a tally of everything that has gone in and come out. If the battery holds a known amount of charge when full, and you have counted how much has left since then, you can work out what remains.

Coulomb counting is smooth and responsive, but small errors accumulate. A slight offset in the current measurement, repeated over hours, turns into a meaningful drift. It also depends on knowing the battery’s true full capacity, and as we will see, that number changes as the battery ages.

So the gauge blends the two. It counts charge moment to moment, and whenever the battery has rested long enough for a clean voltage reading, it uses that reading to correct the running total. Some gauges add more detailed models that account for temperature, load and the cell’s measured resistance. The result is a best guess that is usually within a few per cent, which is good enough for most days.

close-up of an open laptop battery pack showing cells and circuit board

Why the middle of the gauge is so hard

If the voltage curve fell in a neat straight line from full to empty, the gauge’s job would be easy. It does not. Lithium-ion cells have a discharge curve that drops quickly near the top, flattens out through a long middle stretch, and then falls away steeply near the bottom.

That flat middle section is the problem. Across a wide range of charge, perhaps from around 80 per cent down to 20 per cent depending on the chemistry, the resting voltage changes only a little. A tiny error in the voltage reading, or a little leftover sag from recent use, can correspond to a large difference in charge. The gauge has to rely more heavily on its coulomb count through this region, and the count may have been drifting since the last good correction.

Some chemistries are flatter than others. Lithium iron phosphate cells, common in some power tools and electric cars but less so in laptops, have an especially flat curve, which is why devices using them can be even harder to gauge accurately in the middle.

The steep drop at the bottom explains the sudden-death experience. When the battery enters that last region, voltage falls quickly under load. If the gauge was slightly optimistic, the laptop can hit its minimum safe voltage while the display still shows a comfortable single-figure or even low double-figure percentage. The machine shuts down to protect the cells, and the number turns out to have been wrong all along.

The percentage is less a measurement than an opinion, formed by a chip that sees only voltage, current and temperature.

The estimate drifts as the battery ages

A percentage is a fraction of something. For the battery icon, that something is the battery’s current full-charge capacity, which is not the same as the capacity printed on the label. A new battery might hold close to its design capacity. After a couple of years of use it may hold noticeably less.

The fuel gauge has to track that fading capacity, and it can only learn about it indirectly, usually by observing a large enough discharge or charge to compare the counted charge against the change in voltage. If you only ever top up between 60 and 90 per cent, the chip rarely gets the evidence it needs. Its idea of what “full” means can fall out of date.

When that happens, 100 per cent on the display may not correspond to the battery’s real full state, and each percentage point may represent more or less charge than the gauge thinks. Time-remaining estimates wander, and the battery can seem to lose capacity in sudden steps when the chip finally updates its figure.

Most operating systems let you see what the gauge believes. On macOS, the battery section of System Settings shows a health rating. On Windows, running powercfg /batteryreport in a command prompt produces a report comparing design capacity with the current full-charge capacity. These figures are themselves estimates from the same chip, so treat them as a guide rather than a lab result.

Recalibration, and when it actually helps

Recalibration means giving the gauge a clean reference point so it can correct its model. The classic routine is to charge the battery to full, let it rest, use it until it shuts down or reaches a very low level, then charge it to full again without interruption. That full-range cycle lets the chip compare its coulomb count with known end points and update its capacity figure.

It is worth being clear about what this does and does not achieve. Recalibration can make the percentage more accurate. It does not restore lost capacity or repair a worn battery; the cells hold exactly as much charge afterwards as before. It also costs a full cycle, and deep discharges add a little wear of their own.

Modern gauges also recalibrate themselves opportunistically when normal use happens to provide good reference points, so many people never need to do it deliberately. It is worth trying in a few specific situations:

  • The laptop shuts down while still showing a healthy percentage.

  • The percentage sticks at one value for a long time, then jumps sharply.

  • The reported health figure changed suddenly and looks implausible.

  • The manufacturer’s own support guidance recommends it for your model.

If none of these apply, leave it alone. Doing a full discharge every month out of habit gains you nothing and uses up cycles for no reason.

What actually wears a battery out

A lithium-ion battery loses capacity from the moment it is made, through slow chemical side reactions that consume some of the lithium and build up resistance. Three things speed that process up more than anything else.

Heat

Temperature is the biggest single factor. Chemical reactions run faster when warm, and that includes the unwanted ones. A laptop that lives on a soft duvet with its vents blocked, gets left in a hot car, or runs demanding work while charging will age faster than one kept cool. Giving the machine a hard, flat surface and room to breathe is one of the most useful habits you can build.

Time spent at high charge

Cells are under more stress when they sit near full voltage, and the effect is worse when they are also warm. A laptop that stays plugged in at 100 per cent all day, every day, spends its whole life in that stressed state. The damage is gradual rather than dramatic, but over years it adds up.

Cycles and deep discharges

Every charge and discharge causes a little wear, and manufacturers usually rate batteries for a certain number of full cycles before capacity falls to a stated level. A cycle is counted cumulatively, so using half the battery twice counts as one cycle. Deep discharges to near empty tend to be harder on the cells than shallow ones, which is part of why the old advice to “always run it flat” no longer applies to lithium-ion.

laptop on a wooden desk plugged into a charger by a window

Charging settings that hold back the top end

Because time at high charge matters, laptop makers have added settings that stop the battery sitting at 100 per cent unnecessarily. The names and details vary by manufacturer, but they fall into a few broad types.

Optimised or adaptive charging learns your routine. If you usually unplug at a certain time, the laptop charges to around 80 per cent, holds there, then finishes the last stretch shortly before you normally need it. Apple’s optimised battery charging works along these lines, and several Windows laptop makers offer something similar in their own utilities.

Charge limits are more direct. You set a ceiling, often 80 per cent or thereabouts, and the laptop stops charging at that point whenever it is plugged in. This suits people whose laptop spends most of its life on a desk, connected to power. Many business laptops include this option, sometimes described as a conservation or longevity mode, in the manufacturer’s settings app or the firmware setup screen.

There is a trade-off. With a limit in place you start each day with less than a full battery. If you know you will need every minute for a long trip, most tools let you switch the limit off temporarily and charge to full. One side effect worth knowing: a laptop capped at 80 per cent rarely gives its fuel gauge a true full reference point, so an occasional full charge can help keep the percentage honest.

Consider Hana, a translator who works from a small office and keeps her laptop docked most of the week. After two years her battery icon had become unreliable, and she was losing the last 15 per cent without warning when she took the machine to meetings. She ran one full recalibration cycle, which brought the percentage back in line, then turned on the charge limit in her manufacturer’s app and moved the laptop off a heat-trapping stand. The battery did not get any younger, but the number became trustworthy again and the rate of decline slowed.

Storing a laptop you won’t use for a while

Storage is where people often get it wrong in both directions. Putting a laptop away fully charged leaves the cells at high voltage for weeks or months. Putting it away completely flat risks the battery self-discharging below a safe level, at which point the protection circuit may refuse to charge it again.

The usual guidance from battery and device makers is to store a lithium-ion battery at around half charge. Somewhere between 40 and 60 per cent keeps the voltage in its less stressful middle range while leaving plenty of margin for slow self-discharge.

  1. Charge or discharge the laptop to roughly 50 per cent.

  2. Shut it down fully rather than putting it to sleep, so it isn’t drawing power.

  3. Keep it somewhere cool and dry, away from radiators, sunny windowsills and car boots.

  4. If it will be stored for many months, check it every so often and top it back up to around half if it has dropped.

When you bring the laptop back into use, expect the percentage to be a little off at first. The gauge has been asleep too, and it may need a charge cycle or two to settle.

The battery icon is a useful tool as long as you treat it as an informed estimate. Keep the machine cool, avoid leaving it pinned at full for months on end, use the charging controls your laptop already offers, and recalibrate only when the number has clearly lost touch with reality. The chip will keep guessing either way, but it will be guessing about a healthier battery.

Written by

Tomás Reyes

Tomás writes about the software and hardware people actually use. He used to build billing systems, and still has opinions about them.

The newsletter

24,180

readers get The Kestle every Thursday morning

One email a week. Every word worth your time.

New articles, the best things we read elsewhere and a note from the editor. Free, and you can leave with one click.

No spam, no tracking pixels. Unsubscribe from any email.

The newsletter

24,180

readers get The Kestle every Thursday morning

One email a week. Every word worth your time.

New articles, the best things we read elsewhere and a note from the editor. Free, and you can leave with one click.

No spam, no tracking pixels. Unsubscribe from any email.

Long reads on work, technology and everyday life, written to be understood the first time. New articles every Thursday.

Elsewhere

RSS feed

Write for us: pitches@thekestle.com

THE KESTLE

© 2026 The Kestle. Made with Colophra for Framer.

Set in Mona Sans and Fragment Mono

Create a free website with Framer, the website builder loved by startups, designers and agencies.