# Copyright (c) 2018 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. AUTHOR = "Chrome OS Team" NAME = "power_SuspendToIdle" PURPOSE = "Verify the suspend to idle is working." TIME = "SHORT" TEST_CATEGORY = "Logging" TEST_CLASS = "power" TEST_TYPE = "client" ATTRIBUTES = "suite:power_daily" DOC = """ Test functionality of Suspend to Idle. Raise TestNAError if default config is not suspend to idle. This test uses the following sanity check to verify that S0ix is working. 1. DMC Firmware is loaded successfully. 2. PCH IP blocks are powergating correctly. 3. DMC firmware entry DC6 state in S0ix. 4. S0ix residency counter is increased. 5. CPU package C10 state residency counter is increased. 6. GPU RC6 state residency counter is increased. """ job.run_test('power_SuspendToIdle')