Use ioctl() to find the power button
...and get rid of the hardcoded (wrong?!) value