Disable dark resume at the board level on test images.

Several tests depend on RTC to wakeup from suspend. But on devices
with dark resume enabled, powerd will suspend the device immediately
on wake from RTC. This can interfere with the tests. Thus
200disableDarkResume is expected to disable dark resume on test images
so that a wake from RTC will result in a full resume. When dark resume
is enabled on specifice device, the pref file gets written into
board_specific folder which takes precedence.
Thus override board_specific file instead. Tests that have to test dark
resume will override the /var/lib/disable_dark_resume and restart
powerd.

BUG=chromium:916811
TEST=None

Change-Id: I3cb74ab1dc9850df744fe229810f6ae583b65df0
Reviewed-on: https://chromium-review.googlesource.com/1385683
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Ravi Chandra Sadineni <ravisadineni@chromium.org>
Reviewed-by: Dan Erat <derat@chromium.org>
Reviewed-by: Todd Broch <tbroch@chromium.org>
1 file changed