1# Copyright 2020 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 = 'ncrews' 6NAME = 'policy_DeviceScheduledCharging' 7TIME = 'LONG' 8TEST_CATEGORY = 'General' 9TEST_CLASS = 'enterprise' 10TEST_TYPE = 'client' 11 12DOC = ''' 13Verifies that the DeviceAdvancedBatteryChargeMode and DevicePowerPeakShift 14polices work. 15 16This test is kicked off via policy_DeviceChargingServer server test. It requires 17a Servo v4 and Servo Micro attached to the DUT. Also, it requires that the 18battery is not full, and that the battery is above |MIN_BATTERY_LEVEL|, so that 19the policies can get fully tested. The server test should take care of this 20setup. 21''' 22 23args_dict = utils.args_to_dict(args) 24 25job.run_test('policy_DeviceScheduledCharging', **args_dict) 26