summaryrefslogtreecommitdiffstats
path: root/overlay/frameworks
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2011-08-23 19:39:35 -0700
committerTodd Poynor <toddpoynor@google.com>2011-08-23 19:39:35 -0700
commit87a17315f8835fba54952a67ee06a7489a43104a (patch)
treeb084f5bba29d68e0fa188f58803c261de4071879 /overlay/frameworks
parent68cc353e8d8d56cdae60899548d07389855a09f1 (diff)
downloaddevice_samsung_maguro-87a17315f8835fba54952a67ee06a7489a43104a.zip
device_samsung_maguro-87a17315f8835fba54952a67ee06a7489a43104a.tar.gz
device_samsung_maguro-87a17315f8835fba54952a67ee06a7489a43104a.tar.bz2
Maguro: Initial power profile
Change-Id: Iabd5184dbcc653e91ef3753532c9f7e2a124b615 Signed-off-by: Todd Poynor <toddpoynor@google.com>
Diffstat (limited to 'overlay/frameworks')
-rw-r--r--overlay/frameworks/base/core/res/res/xml/power_profile.xml61
1 files changed, 61 insertions, 0 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
new file mode 100644
index 0000000..5eafddf
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/xml/power_profile.xml
@@ -0,0 +1,61 @@
+<?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">26</item> <!-- 200 min to 226 full -->
+ <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">150</item>
+ <item name="radio.active">150</item>
+ <item name="gps.on">50</item> <!-- TBD -->
+ <item name="battery.capacity">1750</item>
+ <item name="radio.scanning">88</item> <!-- TBD -->
+ <array name="radio.on"> <!-- 1 entry per signal strength bin, TBD -->
+ <value>50</value>
+ <value>40</value>
+ <value>30</value>
+ <value>20</value>
+ <value>10</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">10</item>
+ <!-- Power consumption due to wake lock held -->
+ <item name="cpu.awake">40</item>
+ <!-- Power consumption at different speeds -->
+ <array name="cpu.active">
+ <value>120</value>
+ <value>228</value>
+ <value>299</value>
+ <value>397</value>
+ </array>
+</device>