Skip to content

Commit

Permalink
Fix PowerProfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarx2k committed Jan 21, 2011
1 parent 254c051 commit 4bcfa5a
Showing 1 changed file with 57 additions and 57 deletions.
114 changes: 57 additions & 57 deletions overlay/frameworks/base/core/res/res/xml/power_profile.xml
Original file line number Diff line number Diff line change
@@ -1,59 +1,59 @@
<?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">
<item name="none">0</item>
<item name="screen.on">100</item>
<item name="bluetooth.active">142</item> <!-- In call -->
<item name="bluetooth.on">0.3</item>
<!-- CPU wakelock held for 830ms on bluetooth headset at command. 43mA * 830 -->
<item name="bluetooth.at">35690</item>
<item name="screen.full">160</item>
<item name="wifi.on">4</item>
<item name="wifi.active">120</item>
<item name="wifi.scan">220</item>
<item name="dsp.audio">88</item>
<item name="dsp.video">88</item>
<item name="radio.active">300</item>
<item name="gps.on">170</item>
<item name="radio.scanning">70</item>
<array name="radio.on"> <!-- Strength 0 to BINS-1 -->
<value>3</value>
<value>3</value>
</array>
<array name="cpu.speeds">
<value>19200</value>
<value>122880</value>
<value>128000</value>
<value>245760</value>
<value>480000</value>
<value>600000</value>
</array>
<!-- Power consumption in suspend -->
<item name="cpu.idle">1.7</item>
<!-- Power consumption at different speeds -->
<array name="cpu.active">
<value>0</value>
<value>0</value>
<value>0</value>
<value>45</value>
<value>100</value>
<value>140</value>
</array>
<device name="Android" >
<item name="none" >
0
</item>
<item name="screen.on" >
0.1
</item>
<item name="bluetooth.active" >
0.1
</item>
<item name="bluetooth.on" >
0.1
</item>
<item name="screen.full" >
0.1
</item>
<item name="wifi.on" >
0.1
</item>
<item name="wifi.active" >
0.1
</item>
<item name="wifi.scan" >
0.1
</item>
<item name="dsp.audio" >
0.1
</item>
<item name="dsp.video" >
0.1
</item>
<item name="radio.active" >
1
</item>
<item name="radio.scanning" >
0.5
</item>
<item name="gps.on" >
1
</item>
<array name="radio.on" >
<value > 0.2 </value>
<value > 0.1 </value>
</array>
<array name="cpu.speeds" >
<value > 600000 </value>
<value > 400000 </value>
<value > 128000 </value>
</array>
<item name="cpu.idle" >
0.1
</item>
<array name="cpu.active" >
<value > 0.25 </value>
<value > 0.2 </value>
<value > 0.1 </value>
</array>
</device>

0 comments on commit 4bcfa5a

Please sign in to comment.