Fix bug with hibernate delay when running off battery
Fix bug with hibernate delay when running off battery

Fixes hibernate delay logic for chipset x86. With this change
the machine will go in to hibernate one hour after going into G3
when running off battery.

BUG=chrome-os-partner:23224
BRANCH=none
TEST=Used console command hibdelay to set a reasonable hibernate
delay time and tested all combinations of running off battery vs.
AC and shutting off before or after the machine has been on for
a hibdelay amount of time.

Change-Id: Idd94d3677669dcd405732195b8cbbc1edca1e171
Signed-off-by: Alec Berg <1a4429eeda29095a12e19a73405f80f5b7f37a63@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/172512
Reviewed-by: Vincent Palatin <70a9964ec8fd10b0b08fcc8623c2add25ddf99ac@chromium.org>
Reviewed-by: Bill Richardson <129945214b1d548d8e49b6c29c43094f8c78057f@chromium.org>
Reviewed-by: Randall Spangler <62698fdbb84d1779579ee80c3f39fac22017e5bc@chromium.org>

akappy7/ChromeOS_EC_LED_Diagnostics,coreboot/chrome-ec,thehobn/ec,gelraen/cros-ec,md5555/ec,eatbyte/chromium-ec,fourier49/BIZ_EC,akappy7/ChromeOS_EC_LED_Diagnostics,akappy7/ChromeOS_EC_LED_Diagnostics,alterapraxisptyltd/chromium-ec,longsleep/ec,eatbyte/chromium-ec,thehobn/ec,md5555/ec,md5555/ec,coreboot/chrome-ec,fourier49/BZ_DEV_EC,gelraen/cros-ec,coreboot/chrome-ec,akappy7/ChromeOS_EC_LED_Diagnostics,alterapraxisptyltd/chromium-ec,mtk09422/chromiumos-platform-ec,fourier49/BIZ_EC,longsleep/ec,akappy7/ChromeOS_EC_LED_Diagnostics,eatbyte/chromium-ec,alterapraxisptyltd/chromium-ec,thehobn/ec,longsleep/ec,mtk09422/chromiumos-platform-ec,coreboot/chrome-ec,fourier49/BIZ_EC,thehobn/ec,eatbyte/chromium-ec,mtk09422/chromiumos-platform-ec,fourier49/BZ_DEV_EC,alterapraxisptyltd/chromium-ec,md5555/ec,longsleep/ec,fourier49/BIZ_EC,gelraen/cros-ec,fourier49/BZ_DEV_EC,coreboot/chrome-ec,fourier49/BZ_DEV_EC,mtk09422/chromiumos-platform-ec,coreboot/chrome-ec,gelraen/cros-ec