Evaluate Battery Health Over time, lithium-ion batteries degrade and lose the ability to hold a charge. It is a safe and immediate step that should be attempted before seeking repairs.
Look for Signs of Physical Damage on Your iPhone Adapter
If the Maximum Capacity is low, replacing the battery is the most effective solution. Try using a different, known-working cable.
Test the adapter with another device, like an iPad or another iPhone. It is frustrating to plug in your iPhone only to see the battery percentage stubbornly refuse to climb.
Look for Signs of Physical Damage on the Adapter
iOS updates, background processes, and specific settings can interfere with the charging process. For iPhone 8 and later, quickly press and release the Volume Up button, then the Volume Down button, and finally hold the Side button until the Apple logo appears.
More About What to do when your iphone won't charge
Looking at What to do when your iphone won't charge from another angle can help expand the discussion and give readers a second clear paragraph under the same section.
More perspective on What to do when your iphone won't charge can make the topic easier to follow by connecting earlier points with a few simple takeaways.