mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-29 01:50:53 +00:00
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>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user