Home | History | Annotate | Download | only in power_BatteryCharge
      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 
      5 AUTHOR = "Chrome OS Team"
      6 NAME = "power_BatteryCharge"
      7 PURPOSE = "Measure the time required to charge the battery."
      8 CRITERIA = "This test is a benchmark."
      9 TIME = "LONG"
     10 TEST_CATEGORY = "Benchmark"
     11 TEST_CLASS = "power"
     12 TEST_TYPE = "client"
     13 
     14 DOC = """
     15 This 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 
     20 This test depends on power_status.py, which is included in
     21 client/cros/ in AutoTest. power_status.py has many status
     22 initialization and parsing routines for battery status.
     23 """
     24 
     25 job.run_test('power_BatteryCharge')
     26