In this case, it's best to replace your iPhone's battery. If your iPhone is covered with AppleCare+, you will be eligible for a free battery replacement. For those without a warranty, Apple offers ...
As a result of the European Union’s push for greater repairability of consumer devices like smartphones, Apple sees itself forced to make the batteries in the iPhone user-replaceable by 2027.