I have been looking for a solution for this for quite some time. I am using gravity off right now. I just tried to change this file many times. I commented out Key 116 and put the POWER in key 115, the vol up, but that didnt work. I then tried to comment out all the POWER buttons in the file and replaced VOL up with POWER button - that didnt work. Then i reverted back and added the WAKE to the ends of VOL up and down, and that didnt work either. After all changes, i reverted the permission to the correct values.
Any one get this to work? Stock rooted GB27.