I had a similar issue, I went to the Apple Store, the attendant told me he had reset the SMC with the keyboard (not sure he did or could) and I'd have to replace the topcase because it was likely water damage. I asked them kindly if they could check for something inside, to do so they unplugged...