Chosen Solution

Details on bullet points because I will waffle I a para •I have a charger that is a bit lose but works fine. •Last night I kept my phone for charging but it would not charge,so I pressed harder which worked. •Next morning I opened my phone’s and it said it has to factory reset. I don’t ha e much data on it so I allowed it . •When I kept my phone for charge again,this time it said it has moisture in the cable or the port. •What should I do to remove the moisture?Should I blow inside it?

Sounds to me like the charge port may be bad, I’ve run into this issue several times and a charge port replacement always fixed the issue. Phones can be weird especially since they have so much tech nowadays. Phones are most susceptible to moisture than anything else, taking it into the bathroom while you shower can cause moisture exposure or even damage. This may be what happened I’m not sure but the solution for sure would be to replace the charge port. Or replace the device.