summaryrefslogtreecommitdiffstats
path: root/overlay
diff options
context:
space:
mode:
authorAndrew Dodd <atd7@cornell.edu>2012-09-14 17:51:14 -0400
committerAndrew Dodd <atd7@cornell.edu>2012-09-14 21:53:13 -0400
commitde0d2f55ae9b56583dd575da08f7479894c26047 (patch)
tree61f7059888a0b2f057e1000baca2915556e0a78d /overlay
parent9ed62aeb6e2b7c15bf7a5db091c1b5a34b77c8da (diff)
downloaddevice_samsung_galaxys2-common-de0d2f55ae9b56583dd575da08f7479894c26047.zip
device_samsung_galaxys2-common-de0d2f55ae9b56583dd575da08f7479894c26047.tar.gz
device_samsung_galaxys2-common-de0d2f55ae9b56583dd575da08f7479894c26047.tar.bz2
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.
Diffstat (limited to 'overlay')
-rw-r--r--overlay/frameworks/base/core/res/res/xml/power_profile.xml89
1 files changed, 33 insertions, 56 deletions
diff --git a/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/overlay/frameworks/base/core/res/res/xml/power_profile.xml
index 9bb46a8..79996f7 100644
--- a/overlay/frameworks/base/core/res/res/xml/power_profile.xml
+++ b/overlay/frameworks/base/core/res/res/xml/power_profile.xml
@@ -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>