charger: reduce timeout for power-on with power key to 2 secs

Change-Id: I8d3a49678a7fc47282d7ab407722e7c1829e9187
Signed-off-by: Dima Zavin <dima@android.com>
This commit is contained in:
Dima Zavin 2011-09-16 13:15:47 -07:00
parent 243123fb41
commit 92312a515b

View file

@ -53,7 +53,7 @@
#define NSEC_PER_MSEC (1000000LL)
#define SCREEN_ON_TIME (5 * MSEC_PER_SEC)
#define POWER_ON_KEY_TIME (5 * MSEC_PER_SEC)
#define POWER_ON_KEY_TIME (2 * MSEC_PER_SEC)
#define UNPLUGGED_SHUTDOWN_TIME (10 * MSEC_PER_SEC)
#define LOGE(x...) do { KLOG_ERROR("charger", x); } while (0)