I like how Chromebooks deal with the button. AFAIR when you press it screen contents fade into black and when the animation finishes (after something like 3 seconds) it will show you shutdown/reboot dialog. I never had any problem with the button. On Linuxen it is not as clear cut though.