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