The platform_pwrButtonStatus() function returns false (shutdown) in case of a long press of the power button.