Modify long-pressing PWR key for 2.2s to boot-up.
By default, device boots up when PWR key is pressed for 0.5
seconds. Increase this time for 2.2 seconds.
Change-Id: I0e943b6a84b6856a2d239c4c1fab8a4bcbc76ffd
diff --git a/platform/msm_shared/shutdown_detect.c b/platform/msm_shared/shutdown_detect.c
old mode 100644
new mode 100755
index d574b8d..3c7cef5
--- a/platform/msm_shared/shutdown_detect.c
+++ b/platform/msm_shared/shutdown_detect.c
@@ -43,7 +43,7 @@
* Set long press wait time to 500ms to benefit boot time.
*/
#define MPM_SLEEP_TIMETICK_COUNT 0x8000
-#define PWRKEY_LONG_PRESS_COUNT 0x4000
+#define PWRKEY_LONG_PRESS_COUNT 0x1199A //2.2sec
#define QPNP_DEFAULT_TIMEOUT 250
#define PWRKEY_DETECT_FREQUENCY 50