Update iOS to the most recent version.
This is self-evident. Whether or not there are concerns, it is critical to always install the most recent available update to avoid complications.
When charging your phone, try to turn it off.
This may seem inconvenient, especially if you can't live without your smartphone for more than a few hours, but we strongly advise you to do so for the sake of troubleshooting. If your phone charges properly or faster after being turned off, it's either a firmware issue or an app that's causing the issue.
restore the factory for a second time.
If the problem is caused by an app, a full restore may be ineffective. That is, you are merely reinstalling the root of the problem. again after the reset. Make sure to observe how the phone behaves for 24 hours without installing any third-party apps after a restore. This way you can confirm if one of your apps is to blame
Read more