Skip to content
Permalink
Browse files

power_profile: add additional CPU speeds thanks to kra1o5 and clean up

  • Loading branch information
Dazzozo committed Jan 22, 2013
1 parent b27023d commit e61e0e1f058001e665b4f85e6725216c402ce1b9
Showing with 71 additions and 39 deletions.
  1. +71 −39 overlay/frameworks/base/core/res/res/xml/power_profile.xml
@@ -1,39 +1,71 @@
<?xml version="1.0" encoding="utf-8"?>
<device name="Android">
<item name="none">0</item>
<item name="screen.on">30</item>
<item name="bluetooth.active">103</item>
<item name="bluetooth.on">0.8</item>
<item name="bluetooth.at">35690</item>
<item name="screen.full">114</item>
<item name="wifi.on">23</item>
<item name="wifi.active">200</item>
<item name="wifi.scan">200</item>
<item name="dsp.audio">70</item>
<item name="dsp.video">100</item>
<item name="radio.active">230</item>
<item name="gps.on">120</item>
<array name="radio.on">
<value>90</value>
<value>3</value>
</array>
<array name="cpu.speeds">
<value>245760</value>
<value>320000</value>
<value>480000</value>
<value>600000</value>
<value>800000</value>
<value>1008000</value>
</array>
<item name="cpu.idle">1.0</item>
<item name="cpu.awake">20</item>
<array name="cpu.active">
<value>58</value>
<value>63</value>
<value>70</value>
<value>80</value>
<value>105</value>
<value>120</value>
</array>
<item name="battery.capacity">1500</item>
</device>
<?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">30</item>
<item name="bluetooth.active">103</item>
<item name="bluetooth.on">0.8</item>
<item name="bluetooth.at">35690</item>
<item name="screen.full">114</item>
<item name="wifi.on">23</item>
<item name="wifi.active">200</item>
<item name="wifi.scan">200</item>
<item name="dsp.audio">70</item>
<item name="dsp.video">100</item>
<item name="radio.active">230</item>
<item name="gps.on">120</item>
<array name="radio.on">
<value>90</value>
<value>3</value>
</array>
<array name="cpu.speeds">
<value>122880</value>
<value>245760</value>
<value>320000</value>
<value>480000</value>
<value>600000</value>
<value>800000</value>
<value>1008000</value>
<value>1056000</value>
<value>1113600</value>
<value>1152000</value>
<value>1190400</value>
<value>1228800</value>
<value>1267200</value>
</array>
<item name="cpu.idle">1.0</item>
<item name="cpu.awake">20</item>
<array name="cpu.active">
<value>51</value>
<value>58</value>
<value>63</value>
<value>70</value>
<value>80</value>
<value>105</value>
<value>120</value>
<value>125</value>
<value>129</value>
<value>132</value>
<value>135</value>
<value>138</value>
<value>142</value>
</array>
<item name="battery.capacity">1500</item>
</device>

0 comments on commit e61e0e1

Please sign in to comment.
You can’t perform that action at this time.