Power button stopped on my Nexus S My power button has stopped working on my Nexus S, everything else works but this! 

How can i get my power button back?
You can remap either of the volume buttons to be a power button. I have remapped my volume up button to power button. 

To remap, you should have rooted phone, with terminal emulator and busybox application you can edit the file /usr/system/keylayout/herring-keypad.kl 

change the line 

key 115 VOLUME_UP WAKE


to

key 115 POWER WAKE


And reboot your phone.