power_profile.xml revision 9bd8034a1a0ccb20059057031ebec6b61a2c0499
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 <!-- All values are in mAh except as noted --> 22 <item name="none">0</item> 23 <item name="screen.on">0.1</item> 24 <item name="bluetooth.active">0.1</item> 25 <item name="bluetooth.on">0.1</item> 26 <item name="screen.full">0.1</item> 27 <item name="wifi.on">0.1</item> 28 <item name="wifi.active">0.1</item> 29 <item name="wifi.scan">0.1</item> 30 <item name="dsp.audio">0.1</item> 31 <item name="dsp.video">0.1</item> 32 <item name="radio.active">1</item> 33 <!-- The current consumed by the radio when it is scanning for a signal --> 34 <item name="radio.scanning">0.5</item> 35 <item name="gps.on">1</item> 36 <!-- Current consumed by the radio at different signal strengths, when paging --> 37 <array name="radio.on"> <!-- Strength 0 to BINS-1 --> 38 <value>0.2</value> 39 <value>0.1</value> 40 </array> 41 <!-- Different CPU speeds as reported in 42 /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state --> 43 <array name="cpu.speeds"> 44 <value>400000</value> <!-- 400 MHz CPU speed --> 45 </array> 46 <!-- Power consumption when CPU is idle --> 47 <item name="cpu.idle">0.1</item> 48 <!-- Power consumption at different speeds --> 49 <array name="cpu.active"> 50 <value>0.2</value> 51 </array> 52 <!-- This is the battery capacity in mAh --> 53 <item name="battery.capacity">1000</item> 54</device> 55