My nexus 4 power button has suddenly stopped working. It's a hit or miss when I press the button. Is it a hardware or software issue. I've tried a clean flash but problem persists. If it's a hardware issue, will I have to pay for it. Phone is in warranty period. Thanks.
Update: Problem resolved after going back to stock. Now even on custom ROM it's working perfectly.