Besides the power button tap trick...you can clean off the power button with a contact cleaner.
I had two Nexus 5's and my first one had the power issue. I thought I tapped so much the screen broke! So I switched to phone #2 . The power button started to have issue last Thursday and I...