I've had problem recently my phone give a warning saying : moisture
detection while charging the phone. Cleaned with the soft tooth brush
then dried it the charging port with the hair blower ( without any hot
air as that will cause damage to the phon...
Avoid If you're putting your phone on charge over night.Do not keep on
charging your phone unless it's below 15%.Go to device Management and
check if your phone is on optimised for all the apps.hope it helps..