Default [Q} Power/lock button stops working

Well I've currently got zeus 3.2N installed, and the power button has become very temperamental. Sometimes it just will stop working and the phone won't lock, nor will power options come up. When the phone then locks on its own, I can't unlock it (the only way is to plug it in to a charger). Once plugged into the charger, it works fine for a bit but then the same thing happens and I have to unplug it to unlock it.

I've tried performing a fresh install several times, and have tried 3.0N aswell with no luck. I tried going into terminal and getting a log, but it told me it did not exist so I'm not sure if I'm doing it right.

Any suggestions?

EDIT: Nevermind, I just flashed back to stock rom, and I'm having the same problem. Must be a hardware issue...