/external/chromium-trace/catapult/devil/devil/android/ |
D | battery_utils_test.py | 103 self.battery = battery_utils.BatteryUtils( 124 self.battery._cache['profile'] = self._NEXUS_5 130 large_output=True), []), (self.call.battery.GetCharging(), False), 131 (self.call.battery.GetCharging(), True)): 132 self.battery._HardwareSetCharging(True) 135 self.battery._cache['profile'] = self._NEXUS_5 141 large_output=True), []), (self.call.battery.GetCharging(), True)): 142 self.battery._HardwareSetCharging(True) 146 self.battery._cache['profile'] = self._NEXUS_5 152 large_output=True), []), (self.call.battery.GetCharging(), True), [all …]
|
/external/adhd/cras/src/server/ |
D | cras_bt_battery_provider.c | 29 static int cmp_battery_address(const struct cras_bt_battery *battery, in cmp_battery_address() argument 32 return strcmp(battery->address, address); in cmp_battery_address() 73 struct cras_bt_battery *battery; in battery_new() local 75 battery = calloc(1, sizeof(struct cras_bt_battery)); in battery_new() 76 battery->address = strdup(address); in battery_new() 77 battery->object_path = address_to_battery_path(address); in battery_new() 78 battery->device_path = address_to_device_path(address); in battery_new() 79 battery->level = level; in battery_new() 81 return battery; in battery_new() 84 static void battery_free(struct cras_bt_battery *battery) in battery_free() argument [all …]
|
/external/cros/system_api/dbus/power_manager/ |
D | power_supply_properties.proto | 14 // enough rate that the battery is discharging rather than charging; see 32 // The battery is full or close to full. 35 // The battery is being charged but is not yet full. 38 // The battery is discharging. Note that an external power source may be 40 // instantaneous power consumption. This state is also used if the battery 42 // state, which may indicate a battery defect. 45 // The system doesn't have a battery. 134 // Current state of the battery. 137 // Estimated battery charge as a percent of its total capacity, in the 138 // range [0.0, 100.0]. Unset if a battery isn't present. [all …]
|
/external/autotest/client/site_tests/suite_HWQual/ |
D | control.battery_charge_time | 13 This test measures the battery charging time and enforces constraints. Before 14 running this test, the battery charge should be less than 5% and the device 15 should be plugged into AC. Also, the battery capacity at test time must be 16 at least 80% of design capacity (battery wear can be 20% at most). Over the 17 course of 3 hours, the battery charge should increase by at least 94% of the 18 maximum battery charge. 25 # battery must be at least 80% of design capacity
|
D | README.txt | 15 - AC: alternating current, implies device is not powered by battery. 178 - Run the DUT on battery. Probe the battery driver: 191 - Run the DUT on battery. Plug a power draw USB dongle in each USB 202 - Run the DUT on battery. Run the power settings test: 207 - Make sure the remaining battery charge is less than 5%. Note that the test 208 will check and fail quickly if the initial battery charge is more than 5%. 209 Run the DUT on AC. Run the battery charge test: 214 - Make sure that the battery is fully charged. Note that the test will not 215 check if the battery is fully charged before running. Run the DUT on 216 battery. Run the battery load test by first following the manual
|
/external/autotest/client/cros/power/ |
D | power_test.py | 62 if not self.status.battery: 128 if self.status.battery: 129 self._start_energy = self.status.battery.energy 217 if self.status.battery: 218 keyvals['ah_charge_full'] = self.status.battery.charge_full 220 self.status.battery.charge_full_design 221 keyvals['ah_charge_now'] = self.status.battery.charge_now 222 keyvals['a_current_now'] = self.status.battery.current_now 224 keyvals['wh_energy_full'] = self.status.battery.energy_full 226 self.status.battery.energy_full_design [all …]
|
/external/chromium-trace/catapult/devil/devil/android/tools/ |
D | device_monitor_test.py | 66 self.battery = mock.Mock() 67 self.battery.GetBatteryInfo = mock.MagicMock(return_value={ 100 get_battery.return_value = self.battery 109 get_battery.return_value = self.battery 128 get_battery.return_value = self.battery 144 get_battery.return_value = self.battery 158 get_battery.return_value = self.battery 177 get_battery.return_value = self.battery
|
D | device_status.py | 41 battery = battery_utils.BatteryUtils(device) 42 battery_info = battery.GetBatteryInfo(timeout=5) 47 battery = battery_utils.BatteryUtils(device) 48 if not battery.GetCharging(): 49 battery.SetCharging(True)
|
/external/perfetto/docs/data-sources/ |
D | battery-counters.md | 13 measure the charge flowing in and out of the battery. This allows Perfetto to 14 observe the total and instantaneous charge drained from the battery by the 20  24 * The remaining battery capacity in %. 25 * The remaining battery charge in microampere-hours (µAh). 40 the battery. If the device is plugged to a USB cable, you will likely observe 42 the fact that charge is flowing in the battery (i.e. charging it) rather 56 …pmi-0/spmi0-02/800f000.qcom,spmi:qcom,pmi8998@2:qcom,qpnp-smb2/power_supply/battery/input_suspend`. 63  114 Unlike the battery counters, they are not affected by the charging/discharging [all …]
|
/external/perfetto/protos/perfetto/trace/power/ |
D | battery_counters.proto | 24 // Remaining battery capacity percentage of total capacity 27 // Instantaneous battery current in microamperes(µA). 28 // Positive values indicate current drained from the battery, 29 // negative values current feeding the battery from a charge source (USB). 30 // See https://perfetto.dev/docs/data-sources/battery-counters for more. 33 // Instantaneous battery current in microamperes(µA).
|
/external/autotest/client/site_tests/power_BatteryCharge/ |
D | power_BatteryCharge.py | 54 self.charge_full_design = self.status.battery.charge_full_design 55 self.charge_full = self.status.battery.charge_full 64 self.initial_charge = self.status.battery.charge_now 98 new_charge = self.status.battery.charge_now 105 if self.status.battery.status == 'Full': 108 elif self.status.battery.status == 'Discharging': 119 keyvals['ah_final_charge'] = self.status.battery.charge_now
|
D | control | 7 PURPOSE = "Measure the time required to charge the battery." 19 initialization and parsing routines for battery status.
|
/external/autotest/client/site_tests/power_Standby/ |
D | power_Standby.py | 61 charge_start = power_stats.battery.charge_now 62 voltage_start = power_stats.battery.voltage_now 79 charge_before = power_stats.battery.charge_now 100 charge_used = charge_before - power_stats.battery.charge_now 117 charge_end = power_stats.battery.charge_now 126 voltage_end = power_stats.battery.voltage_now 127 standby_hours = power_stats.battery.charge_full_design / \
|
/external/autotest/client/site_tests/power_Draw/ |
D | power_Draw.py | 30 start_energy = status.battery.energy 40 end_energy = status.battery.energy 46 keyvals['wh_energy_full'] = status.battery.energy_full 51 keyvals['w_end_energy_rate'] = status.battery.energy_rate
|
/external/autotest/client/site_tests/power_LoadTest/ |
D | README.md | 6 Modern mobile computers are sold with an advertised battery life, ranging from a 8 many users report that their actual battery life doesn’t match up with the 9 advertised numbers. For Chrome OS devices, we wanted to try and report battery 12 resultant battery life. This test is as an [open source][1] Chrome extension 15 The `power_LoadTest` runs as a series of one hour long iterations until battery 27 * Screen: Set to platform default brightness on battery or 40% if default can 43 * Device only powered by battery (no AC power). 45 iterations until battery passes low threshold (typically set at 3%). Initial 46 & remaining battery charge is recorded. 78 [chroot][6]. (Make sure you have battery fully charged with AC power source and [all …]
|
D | power_LoadTest.py | 127 if not self._power_status.battery: 137 if not self._power_status.battery: 270 if self._power_status.battery: 271 self._ah_charge_start = self._power_status.battery.charge_now 272 self._wh_energy_start = self._power_status.battery.energy 472 if self._power_status.battery: 473 keyvals['a_current_now'] = self._power_status.battery.current_now 475 self._power_status.battery.charge_full 477 self._power_status.battery.charge_full_design 479 keyvals['ah_charge_now'] = self._power_status.battery.charge_now [all …]
|
/external/virglrenderer/ci/ |
D | build-container.sh | 139 mkdir /battery 140 pushd /battery 142 tar xzvf battery-${BATTERY_VERSION}-x86_64-linux.tar.gz && \ 143 rm battery-${BATTERY_VERSION}-x86_64-linux.tar.gz && \ 144 mv battery /usr/local/bin 153 battery config --release --lto Volta Watt && \ 154 battery build && \ 155 battery config --cmd-volta Volta/volta Volta/rt Watt dEQP && \ 156 battery build && \
|
/external/autotest/client/site_tests/power_BatteryDrain/ |
D | control | 7 PURPOSE = "Drain the battery quickly, as a utility for other tests." 9 DUT must not be on AC power, and battery must drop to or below the 18 This test drains the battery quickly, as a utility for other tests. It requires 20 server test. You can specify a battery threshold to drain to, and a timeout in
|
/external/autotest/client/site_tests/hardware_MultiReaderPowerConsumption/ |
D | hardware_MultiReaderPowerConsumption.py | 116 max_charge = self.status.battery.charge_full_design 117 initial_charge = self.status.battery.charge_now 123 charge_A = self.status.battery.charge_now 133 charge_B = self.status.battery.charge_now 143 charge_C = self.status.battery.charge_now
|
/external/autotest/server/site_tests/sequences/ |
D | control.power_daily | 12 DEPENDENCIES = "power:battery, rpm" 30 # Charge the battery to at least 50% in preparation for the consumption 31 # test. Charging the battery from empty to full can take up to 4 hours. 44 # Charge the battery to at least 99% in preparation for the load 45 # test. Charging the battery from empty to full can take up to 4 hours.
|
/external/autotest/server/site_tests/firmware_ECBattery/ |
D | control | 9 PURPOSE = "Servo based EC battery status report test" 10 CRITERIA = "This test will fail if EC battery status report misbehalved." 20 This test check battery status read from EC console and kernel sysfs match.
|
/external/autotest/client/profilers/powertop/src/ |
D | README | 1 What's eating the battery life of my laptop? Why isn't it many more 9 idle for long periods, which translates into a longer battery life for 21 components are the biggest offenders in slurping up your battery time. 28 battery life of typical laptops was increased by one hour or more! 32 maximum battery life out of your (hopefully Intel based) laptops. Try
|
/external/crosvm/seccomp/ |
D | Android.bp | 718 name: "battery.policy_inline_x86_64", 720 out: ["battery.policy"], 721 srcs: ["x86_64/battery.policy"], 725 name: "battery.policy_x86_64", 726 filename: "battery.policy", 728 src: ":battery.policy_inline_x86_64", 732 name: "battery.policy_inline_aarch64", 734 out: ["battery.policy"], 735 srcs: ["aarch64/battery.policy"], 739 name: "battery.policy_aarch64", [all …]
|
/external/cpuinfo/test/dmesg/ |
D | galaxy-j1-2016.log | 303 <4>[ 0.449432] [0: swapper/0: 1] [c0] sec_chg_dt_init: battery detect gpio 313 328 <6>[ 0.487548] [0: swapper/0: 1] [c0] sm5701_get_float_voltage: battery cv voltage 0x1e 333 <6>[ 0.497619] [0: kworker/0:0: 4] [c0] sm5701_get_float_voltage: battery cv voltage 0x1e 337 <3>[ 0.497985] [3: kworker/3:0: 25] [c3] SM5701_isr_work: Fail to get psy (battery) 338 <3>[ 0.497985] [3: kworker/3:0: 25] [c3] SM5701_isr_work: Fail to get psy (battery) 346 <3>[ 0.504638] [3: kworker/3:0: 25] [c3] SM5701_isr_work: Fail to set psy (battery) 365 <6>[ 0.511077] [3: kworker/3:0: 25] [c3] SM5701_isr_work: battery status : 1 1238 <3>[ 1.986358] [2: kworker/2:1: 92] [c2] sec_charger_cb: fail to get battery psy 1301 <6>[ 1.992797] [3: swapper/0: 1] [c3] sec-battery sec-battery.4: sec_bat_set_property: … 1302 <6>[ 1.992828] [3: swapper/0: 1] [c3] sec-battery sec-battery.4: sec_battery_probe: SEC… [all …]
|
/external/autotest/client/site_tests/power_ProbeDriver/ |
D | power_ProbeDriver.py | 56 if not status.battery: 59 if not status.battery.present:
|