Roll NDK to pick std::deque patch.
[android_tools.git] / sdk / platforms / android-25 / data / res / xml / power_profile.xml
blob2e593a3dc6e85abf9cde46ad62496890e74e0e52
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 **
4 ** Copyright 2009, The Android Open Source Project
5 **
6 ** Licensed under the Apache License, Version 2.0 (the "License")
7 ** you may not use this file except in compliance with the License.
8 ** You may obtain a copy of the License at
9 **
10 **     http://www.apache.org/licenses/LICENSE-2.0
12 ** Unless required by applicable law or agreed to in writing, software
13 ** distributed under the License is distributed on an "AS IS" BASIS,
14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ** See the License for the specific language governing permissions and
16 ** limitations under the License.
18 -->
20 <device name="Android">
21   <!-- Most values are the incremental current used by a feature,
22        in mA (measured at nominal voltage).
23        The default values are deliberately incorrect dummy values.
24        OEM's must measure and provide actual values before
25        shipping a device.
26        Example real-world values are given in comments, but they
27        are totally dependent on the platform and can vary
28        significantly, so should be measured on the shipping platform
29        with a power meter. -->
30   <item name="none">0</item>
31   <item name="screen.on">0.1</item>  <!-- ~200mA -->
32   <item name="screen.full">0.1</item>  <!-- ~300mA -->
33   <item name="bluetooth.active">0.1</item> <!-- Bluetooth data transfer, ~10mA -->
34   <item name="bluetooth.on">0.1</item>  <!-- Bluetooth on & connectable, but not connected, ~0.1mA -->
35   <item name="wifi.on">0.1</item>  <!-- ~3mA -->
36   <item name="wifi.active">0.1</item>  <!-- WIFI data transfer, ~200mA -->
37   <item name="wifi.scan">0.1</item>  <!-- WIFI network scanning, ~100mA -->
38   <item name="dsp.audio">0.1</item> <!-- ~10mA -->
39   <item name="dsp.video">0.1</item> <!-- ~50mA -->
40   <item name="camera.flashlight">0.1</item> <!-- Avg. power for camera flash, ~160mA -->
41   <item name="camera.avg">0.1</item> <!-- Avg. power use of camera in standard usecases, ~550mA -->
42   <item name="gps.on">0.1</item> <!-- ~50mA -->
44   <!-- Radio related values. For modems without energy reporting support in firmware, use
45        radio.active, radio.scanning, and radio.on. -->
46   <item name="radio.active">0.1</item> <!-- ~200mA -->
47   <item name="radio.scanning">0.1</item> <!-- cellular radio scanning for signal, ~10mA -->
48   <!-- Current consumed by the radio at different signal strengths, when paging -->
49   <array name="radio.on"> <!-- Strength 0 to BINS-1 -->
50       <value>0.2</value> <!-- ~2mA -->
51       <value>0.1</value> <!-- ~1mA -->
52   </array>
55   <!-- Radio related values. For modems WITH energy reporting support in firmware, use
56        modem.controller.idle, modem.controller.tx, modem.controller.rx, modem.controller.voltage.
57        -->
58   <item name="modem.controller.idle">0</item>
59   <item name="modem.controller.rx">0</item>
60   <item name="modem.controller.tx">0</item>
61   <item name="modem.controller.voltage">0</item>
63   <!-- A list of heterogeneous CPU clusters, where the value for each cluster represents the
64        number of CPU cores for that cluster.
66        Ex:
67        <array name="cpu.clusters.cores">
68          <value>4</value> // cluster 0 has cpu0, cpu1, cpu2, cpu3
69          <value>2</value> // cluster 1 has cpu4, cpu5
70        </array> -->
71   <array name="cpu.clusters.cores">
72       <value>1</value> <!-- cluster 0 has cpu0 -->
73   </array>
75     <!-- Different CPU speeds for cluster 0 as reported in
76        /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state.
78        There must be one of these for each cluster, labeled:
79        cpu.speeds.cluster0, cpu.speeds.cluster1, etc... -->
80   <array name="cpu.speeds.cluster0">
81       <value>400000</value> <!-- 400 MHz CPU speed -->
82   </array>
84   <!-- Current at each CPU speed for cluster 0, as per 'cpu.speeds.cluster0'.
85        Like cpu.speeds.cluster0, there must be one of these present for
86        each heterogeneous CPU cluster. -->
87   <array name="cpu.active.cluster0">
88       <value>0.1</value>  <!-- ~100mA -->
89   </array>
91   <!-- Current when CPU is idle -->
92   <item name="cpu.idle">0.1</item>
94   <!-- This is the battery capacity in mAh (measured at nominal voltage) -->
95   <item name="battery.capacity">1000</item>
97   <!-- Wifi related values. -->
98   <!-- Idle Receive current for wifi radio in mA. 0 by default-->
99   <item name="wifi.controller.idle">0</item>
100   <!-- Rx current for wifi radio in mA. 0 by default-->
101   <item name="wifi.controller.rx">0</item>
102   <!-- Tx current for wifi radio in mA. 0 by default-->
103   <item name="wifi.controller.tx">0</item>
104   <!-- Current at each of the wifi Tx levels in mA. The number of tx levels varies per device
105        and is available only of wifi chipsets which support the tx level reporting. Use
106         wifi.tx for other chipsets. none by default -->
107   <array name="wifi.controller.tx_levels"> <!-- mA -->
108   </array>
109   <!-- Operating volatage for wifi radio in mV. 0 by default-->
110   <item name="wifi.controller.voltage">0</item>
112   <array name="wifi.batchedscan"> <!-- mA -->
113     <value>.0002</value> <!-- 1-8/hr -->
114     <value>.002</value>  <!-- 9-64/hr -->
115     <value>.02</value>   <!-- 65-512/hr -->
116     <value>.2</value>    <!-- 513-4,096/hr -->
117     <value>2</value>    <!-- 4097-/hr -->
118   </array>
120 </device>