iOS 7: iPhone 5 Power Button Not Working
If you have recently upgraded your iPhone 5 to iOS 7 and are experiencing issues with the power button not operating correctly, there is a temporary fix until Apple resolves the problem.
Push the inside half of the power button. This works most of the time. The outside half of the power button usually doesn’t work, so just keep pushing the inside half.
Apple should issue a real fix soon, but thankfully it’s “not your fault”!