you could also try at xterm: Code: cat /proc/bootreason pwr_key is the normal output of that command.
cat /proc/bootreason
$ cat /proc/bootreason sw_rst