You should/need not to change that.
The problem is the power button of traditional PC/NB
doesn't behave as the android expects.
There are some ways to solve it:
1. Simulate power off event by double clicking
the power button (setprop poweroff.doubleclick 1)
This is the default behavior of 4.4-RCx.
2. Simulate power off event by single clicking.
Just change the property poweroff.doubleclick to 0.
3. Change your power button behavior to meet the
android requirement.
It may need to modify your bios, hardware spec, ...
> P.S. :I rework system for CarPC.
If you are designing your hardware,
you'd better to go with the 3rd approach.
--
Chih-Wei
Android-x86 project
http://www.android-x86.org