Power button works once every x minutes
I received an iPhone 5 with a non-functional power button. I replaced the cable with a new one and now the phone acts weird: the power button never works except when you let the phone be for at least 2 minutes. Then, when you push it, it wakes up the device but stops responding after that.
If you wake the device with the home button after leaving it for a while you can use the power button to put it back to sleep but then it stops responding again.
I will be trying a new part next week but I wonder if anyone has seen this behavior before?