| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| ** |
| ** Copyright 2009, The Android Open Source Project |
| ** |
| ** Licensed under the Apache License, Version 2.0 (the "License") |
| ** you may not use this file except in compliance with the License. |
| ** You may obtain a copy of the License at |
| ** |
| ** http://www.apache.org/licenses/LICENSE-2.0 |
| ** |
| ** Unless required by applicable law or agreed to in writing, software |
| ** distributed under the License is distributed on an "AS IS" BASIS, |
| ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ** See the License for the specific language governing permissions and |
| ** limitations under the License. |
| */ |
| --> |
| |
| <device name="Android"> |
| <!-- Most values are the incremental current used by a feature, |
| in mA (measured at nominal voltage). |
| The default values are deliberately incorrect dummy values. |
| OEM's must measure and provide actual values before |
| shipping a device. |
| Example real-world values are given in comments, but they |
| are totally dependent on the platform and can vary |
| significantly, so should be measured on the shipping platform |
| with a power meter. --> |
| <item name="none">0</item> |
| <item name="screen.on">0.1</item> <!-- ~200mA --> |
| <item name="screen.full">0.1</item> <!-- ~300mA --> |
| <item name="bluetooth.active">0.1</item> <!-- Bluetooth data transfer, ~10mA --> |
| <item name="bluetooth.on">0.1</item> <!-- Bluetooth on & connectable, but not connected, ~0.1mA --> |
| <item name="wifi.on">0.1</item> <!-- ~3mA --> |
| <item name="wifi.active">0.1</item> <!-- WIFI data transfer, ~200mA --> |
| <item name="wifi.scan">0.1</item> <!-- WIFI network scanning, ~100mA --> |
| <item name="dsp.audio">0.1</item> <!-- ~10mA --> |
| <item name="dsp.video">0.1</item> <!-- ~50mA --> |
| <item name="radio.active">0.1</item> <!-- ~200mA --> |
| <item name="radio.scanning">0.1</item> <!-- cellular radio scanning for signal, ~10mA --> |
| <item name="gps.on">0.1</item> <!-- ~50mA --> |
| <!-- Current consumed by the radio at different signal strengths, when paging --> |
| <array name="radio.on"> <!-- Strength 0 to BINS-1 --> |
| <value>0.2</value> <!-- ~2mA --> |
| <value>0.1</value> <!-- ~1mA --> |
| </array> |
| <!-- Different CPU speeds as reported in |
| /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state --> |
| <array name="cpu.speeds"> |
| <value>400000</value> <!-- 400 MHz CPU speed --> |
| </array> |
| <!-- Current when CPU is idle --> |
| <item name="cpu.idle">0.1</item> |
| <!-- Current at each CPU speed, as per 'cpu.speeds' --> |
| <array name="cpu.active"> |
| <value>0.1</value> <!-- ~100mA --> |
| </array> |
| <!-- This is the battery capacity in mAh (measured at nominal voltage) --> |
| <item name="battery.capacity">1000</item> |
| |
| <array name="wifi.batchedscan"> <!-- mA --> |
| <value>.0002</value> <!-- 1-8/hr --> |
| <value>.002</value> <!-- 9-64/hr --> |
| <value>.02</value> <!-- 65-512/hr --> |
| <value>.2</value> <!-- 513-4,096/hr --> |
| <value>2</value> <!-- 4097-/hr --> |
| </array> |
| </device> |