aboutsummaryrefslogtreecommitdiffstats
path: root/overlay
diff options
context:
space:
mode:
Diffstat (limited to 'overlay')
-rw-r--r--overlay/frameworks/base/core/res/res/xml/power_profile.xml81
1 files changed, 48 insertions, 33 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 bb61130..9d1a88b 100644
--- a/overlay/frameworks/base/core/res/res/xml/power_profile.xml
+++ b/overlay/frameworks/base/core/res/res/xml/power_profile.xml
@@ -18,37 +18,52 @@
-->
<device name="Android">
- <item name="none">0</item>
- <item name="screen.on">71</item>
- <item name="bluetooth.active">17</item>
- <item name="bluetooth.on">0.3</item>
- <item name="screen.full">380</item>
- <item name="wifi.on">0.3</item>
- <item name="wifi.active">96</item>
- <item name="wifi.scan">70</item>
- <item name="dsp.audio">44</item>
- <item name="dsp.video">280</item>
- <item name="radio.active">250</item>
- <item name="radio.scanning">82</item>
- <item name="gps.on">1</item>
- <array name="radio.on">
- <value>3.4</value>
- <value>3.4</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">4</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">2100</item>
+ <!-- All values are in mAh except as noted -->
+ <item name="none">0</item>
+ <item name="screen.on">71</item>
+ <item name="bluetooth.active">17</item>
+ <item name="bluetooth.on">0.3</item>
+ <item name="bluetooth.at">35690</item>
+ <item name="screen.full">380</item>
+ <item name="wifi.on">0.3</item>
+ <item name="wifi.active">96</item>
+ <item name="wifi.scan">70</item>
+ <item name="dsp.audio">44</item>
+ <item name="dsp.video">280</item>
+ <item name="radio.active">250</item>
+ <!-- The current consumed by the radio when it is scanning for a signal -->
+ <item name="radio.scanning">82</item>
+ <item name="gps.on">50</item>
+ <!-- Current consumed by the radio at different signal strengths, when paging -->
+ <array name="radio.on"> <!-- Strength 0 to BINS-1 -->
+ <value>3.4</value>
+ <value>3.4</value>
+ </array>
+ <!-- Different CPU speeds as reported in
+ /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state -->
+ <array name="cpu.speeds">
+ <value>200000</value>
+ <value>500000</value>
+ <value>800000</value>
+ <value>1000000</value>
+ <value>1200000</value>
+ <value>1400000</value>
+ <value>1600000</value>
+ </array>
+ <!-- Power consumption when CPU is idle -->
+ <item name="cpu.idle">4</item>
+ <!-- Power consumption due to wake lock held -->
+ <item name="cpu.awake">44</item>
+ <!-- Power consumption at different speeds -->
+ <array name="cpu.active">
+ <value>55.4</value>
+ <value>82.1</value>
+ <value>113.7</value>
+ <value>140.0</value>
+ <value>170.0</value>
+ <value>200.0</value>
+ <value>230.0</value>
+ </array>
+ <!-- This is the battery capacity in mAh -->
+ <item name="battery.capacity">2100</item>
</device>