If you see a “moisture detected” water drop icon on your Samsung Galaxy phone while charging, it’s best to unplug the cable and let things dry. However, this frustrating warning sometimes appears in error and won’t go away.
Source : How to Clear the Moisture Detected Warning on Samsung Phones