Remove dark resume preference setter for test images.

Since the idea is to keep the dark resume setting to default so as to
find regressions easily, this change removes the file that changes dark
resume preference on the test images. The preference is overridden in
powerd_dbus_suspend so as to prevent interference with autotests that
use RTC to wakeup from suspend (


Cq-Depend: chromium:1834652
Change-Id: I92fed3c9c1024346f0a4ad8b820c6881b8a4b8ec
Tested-by: Ravi Chandra Sadineni <>
Commit-Ready: ChromeOS CL Exonerator Bot <>
Legacy-Commit-Queue: Commit Bot <>
Reviewed-by: Mike Frysinger <>
diff --git a/mod_for_test_scripts/200disableDarkResume b/mod_for_test_scripts/200disableDarkResume
deleted file mode 100755
index 460443e..0000000
--- a/mod_for_test_scripts/200disableDarkResume
+++ /dev/null
@@ -1,17 +0,0 @@
-# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-# 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 this script disables dark resume on
-# test images. powerd gives highest precedence to settings under
-# /var/lib/power_manager. Thus this overrides settings from other sources.
-# Please look at power_manager/docs/ for preference
-# order. If a test intends to enable dark resume, it should create a temporary
-# directory and mount it in place of /var/lib/power_manager and restart powerd.
-mkdir -p "${ROOT_FS_DIR}/var/lib/power_manager/"
-echo 1 > "${ROOT_FS_DIR}/var/lib/power_manager/disable_dark_resume"