I had the same problem when I was in camping. Dew appeared each morning and phone was detecting moisture.
First, I left it on the sun for an hour. Second, I turned it off and plug-in charger.
After charging it worked ok.
But be careful. You can burn it out, so this decision is your risk.