The function of the front button can be set in the BIOS for some main board. You can set it to sleep mode, turn off when press with 4 sec, or instant turn off. Good luck