A lithium-ion battery starts losing capacity from the first cycle, and no setting stops that. What varies enormously is the rate, and the two biggest influences are surprisingly simple: how hot the battery gets and how long it sits fully charged.
What is happening inside
When a lithium-ion cell charges, lithium ions move from one electrode to the other, and they move back as it discharges. Each cycle causes small, irreversible changes that slowly reduce how much charge the cell can hold and how readily it delivers power. In daily life, that shows up as shorter runtime, and eventually as a device that shuts down while the display still shows some charge.
Heat is the main enemy
Apple’s battery guidance says the ideal ambient temperature for its devices is 62° to 72° F (16° to 22° C). It warns that exposing a device to ambient temperatures above 95° F (35° C) can permanently reduce battery capacity, and that software may limit charging above 80 percent when a device is too warm.
Battery University, a long-running battery reference site, treats anything above 30° C (86° F) as an elevated temperature for lithium-ion cells and recommends keeping batteries cool, with no hot cars or sunny windowsills. In practice, that means avoiding leaving a phone on a dashboard, charging under a pillow or gaming for hours while plugged in on a hot day.
Why sitting at 100 percent costs you
Battery University’s data add a second factor: high charge voltage. Its estimates, which it labels as approximate and which vary between cell types, show how storage conditions play out. A cell kept at a 100 percent charge at 25° C holds about 80 percent of its capacity after a year, against about 96 percent for one kept at 40 percent. At 60° C, the full-charge figure falls to about 60 percent after three months. The site says that a battery sitting full and warm for long periods can be more stressful than cycling it.
It also reports that partial discharges are gentler than deep ones, and that lithium-ion batteries need no periodic full discharge. The old advice to run a battery flat before recharging belongs to older chemistries.
What the built-in settings do
Phone and laptop makers have turned this research into features. Apple says that its optimized battery charging may delay finishing the charge to 100 percent until shortly before you need the device, based on your daily routine, and it recommends charging to about 50 percent before storing a device for a long time, topping up every six months if it sits longer. Other makers offer charge limits and similar scheduling. Turning one on costs nothing and targets the exact stress described above.
Fast charging generates more heat, so it makes sense for the moments you need it rather than as an overnight default.
When to replace the battery
Replacement is worth considering when runtime has become a daily frustration, when the device shuts off unexpectedly, or when it runs unusually hot. A swollen battery is different: it is a safety hazard, and the device should be switched off, not charged and taken to a professional.
Official service is the safest route, and repairability is worth weighing at purchase. Thin devices have less space for large batteries, one reason slim designs such as foldable phones deserve extra attention to battery life. Small cells in earbuds and watches age fastest in proportion and are often hard to swap, so they behave more like consumables.
For most people, a few habits are enough: keep devices out of heat, avoid leaving them at 100 percent for days, use the optimized-charging setting if one exists and accept that capacity will drift down over the years.



