blob: 4139972a753aaa8b438ba86f51da75980a197e87 [file] [log] [blame] [edit]
# Copyright (c) 2012 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.
from autotest_lib.client.bin import test
from autotest_lib.client.cros import sys_power
class power_KernelSuspend(test.test):
"""Suspend the system."""
version = 1
def run_once(self, seconds=10):
# go to suspend
sys_power.kernel_suspend(seconds)