If you're in a humid environment, had open containers of liquid near your phone, etc. sometimes moisture can find its way into odd places. It sounds like the problem is related to a sensor on your phone rather than the adapter. I would turn the phone off and leave it out in an open well-ventilated area for a little bit. Hopefully whatever moisture is in there will evaporate and the issue will resolve itself.