diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2012-11-07 07:41:55 -0800 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-11-07 23:48:03 -0800 |
commit | 7551e8f57f9b5b325fa00860f55bb236ff48c4e5 (patch) | |
tree | cd58ed500fda8b72c4e184b48c6ff6c18c8566ca | |
parent | 4efe1ed157b732cc3408e8b1e8af6bd823b4247c (diff) | |
download | chrome-ec-7551e8f57f9b5b325fa00860f55bb236ff48c4e5.tar.gz |
x86: set hibernation delay to 1 hour
When the system is in S5, it will go to hibernate mode after 1 hour
instead of 24 hours.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BRANCH=link
BUG=none
TEST=on Link DVT3 with servo connected, turn off the machine and
see the EC going to hibernate after 1 hour (according to EC UART traces)
start the machine and see it boot properly.
Change-Id: I1da87b3e09b90817ce5609f3f74b5969235fb90a
Reviewed-on: https://gerrit.chromium.org/gerrit/37526
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r-- | common/x86_power.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/x86_power.c b/common/x86_power.c index 7165bff499..2bbe8e469e 100644 --- a/common/x86_power.c +++ b/common/x86_power.c @@ -105,7 +105,7 @@ static int throttle_cpu; /* Throttle CPU? */ /* When did we enter G3? */ static uint64_t last_shutdown_time; /* Delay before go into hibernation in seconds*/ -static uint32_t hibernate_delay = 86400; /* 24 Hrs */ +static uint32_t hibernate_delay = 3600; /* 1 Hour */ /** * Update input signal state. |