1# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5AUTHOR = "Chrome OS Team"
6NAME = "power_BatteryCharge"
7PURPOSE = "Measure the time required to charge the battery."
8CRITERIA = "This test is a benchmark."
9TIME = "LONG"
10TEST_CATEGORY = "Benchmark"
11TEST_CLASS = "power"
12TEST_TYPE = "client"
13
14DOC = """
15This test enforces the following contraints:
16 - Initial battery charge < 5%
17 - Device should be plugged in to an AC outlet
18 - In 4 hours, the battery charge should increase by at least 94% of maximum
19
20This test depends on power_status.py, which is included in
21client/cros/ in AutoTest. power_status.py has many status
22initialization and parsing routines for battery status.
23"""
24
25job.run_test('power_BatteryCharge')
26