power_profile.xml revision e5ff5434486bfcfa6afbf2728c04a62fd33e2a2b
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 11** 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. 17*/ 18--> 19 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="radio.active">0.1</item> <!-- ~200mA --> 41 <item name="radio.scanning">0.1</item> <!-- cellular radio scanning for signal, ~10mA --> 42 <item name="gps.on">0.1</item> <!-- ~50mA --> 43 <!-- Current consumed by the radio at different signal strengths, when paging --> 44 <array name="radio.on"> <!-- Strength 0 to BINS-1 --> 45 <value>0.2</value> <!-- ~2mA --> 46 <value>0.1</value> <!-- ~1mA --> 47 </array> 48 <!-- Different CPU speeds as reported in 49 /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state --> 50 <array name="cpu.speeds"> 51 <value>400000</value> <!-- 400 MHz CPU speed --> 52 </array> 53 <!-- Current when CPU is idle --> 54 <item name="cpu.idle">0.1</item> 55 <!-- Current at each CPU speed, as per 'cpu.speeds' --> 56 <array name="cpu.active"> 57 <value>0.1</value> <!-- ~100mA --> 58 </array> 59 <!-- This is the battery capacity in mAh (measured at nominal voltage) --> 60 <item name="battery.capacity">1000</item> 61</device> 62