3
0

power_profile: Bring a sane one from a Samsung firmware

Whatever is currently here looks like it's OMAP-ish
and results in what appears to be bogus ordering in
Battery stats.
This commit is contained in:
Andrew Dodd 2012-09-14 17:51:14 -04:00
parent 9ed62aeb6e
commit de0d2f55ae

View File

@ -1,59 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
**
** Copyright 2011, 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">
<!-- All values are in mA except as noted -->
<item name="none">0</item>
<item name="screen.on">200</item> <!-- min brite -->
<item name="bluetooth.active">150</item>
<item name="bluetooth.on">1</item>
<item name="bluetooth.at">1</item> <!-- TBD -->
<item name="screen.full">160</item> <!-- 360 max on calendar -->
<item name="wifi.on">1</item>
<item name="wifi.active">150</item>
<item name="wifi.scan">200</item>
<item name="dsp.audio">150</item>
<item name="dsp.video">200</item>
<item name="radio.active">150</item>
<item name="gps.on">55</item>
<item name="battery.capacity">1750</item>
<item name="radio.scanning">90</item> <!-- TBD -->
<!-- Current consumed by the radio at different signal strengths, when paging -->
<array name="radio.on"> <!-- 1 entry per signal strength bin, TBD -->
<value>3.0</value>
<value>3.0</value>
</array>
<array name="cpu.speeds">
<value>350000</value>
<value>700000</value>
<value>920000</value>
<value>1200000</value>
</array>
<!-- Power consumption in suspend -->
<item name="cpu.idle">7</item>
<!-- Power consumption due to wake lock held -->
<item name="cpu.awake">20</item>
<!-- Power consumption at different speeds -->
<array name="cpu.active">
<value>120</value>
<value>228</value>
<value>299</value>
<value>397</value>
</array>
<item name="none">0</item>
<item name="screen.on">75</item>
<item name="bluetooth.active">32</item>
<item name="bluetooth.on">0.3</item>
<item name="screen.full">201</item>
<item name="wifi.on">0.3</item>
<item name="wifi.active">83</item>
<item name="wifi.scan">52</item>
<item name="dsp.audio">34</item>
<item name="dsp.video">265</item>
<item name="radio.active">242</item>
<item name="radio.scanning">82</item>
<item name="gps.on">1</item>
<array name="radio.on">
<value>2.7</value>
<value>3</value>
</array>
<array name="cpu.speeds">
<value>12000000</value>
<value>10000000</value>
<value>800000</value>
<value>500000</value>
<value>200000</value>
</array>
<item name="cpu.idle">2</item>
<array name="cpu.active">
<value>577</value>
<value>408</value>
<value>249</value>
<value>148</value>
<value>55</value>
</array>
<item name="battery.capacity">1650</item>
</device>