diff options
author | Amith Yamasani <yamasani@google.com> | 2009-06-09 06:32:35 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2009-06-10 19:45:28 -0700 |
commit | 3718aaabe6259dcf86a3666ff92d16e4be5da555 (patch) | |
tree | 1f5228a19fea42af66fa63da0fa76f0a2ebb01c6 /core/res | |
parent | b81645c868b3d596b5ac56822959feb629a8651e (diff) | |
download | frameworks_base-3718aaabe6259dcf86a3666ff92d16e4be5da555.zip frameworks_base-3718aaabe6259dcf86a3666ff92d16e4be5da555.tar.gz frameworks_base-3718aaabe6259dcf86a3666ff92d16e4be5da555.tar.bz2 |
Allow arrays of values for power profile data.
Parse arrays for data that has different levels with non-linear
power increase.
Track radio data awake_time from kernel and mobile/total data
transfers.
Use dummy values for default power_profile.xml. Actual values will
be in a product overlay.
Diffstat (limited to 'core/res')
-rw-r--r-- | core/res/res/xml/power_profile.xml (renamed from core/res/res/xml/power_profile_default.xml) | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/core/res/res/xml/power_profile_default.xml b/core/res/res/xml/power_profile.xml index ceecb1a..859902e 100644 --- a/core/res/res/xml/power_profile_default.xml +++ b/core/res/res/xml/power_profile.xml @@ -19,19 +19,22 @@ <device name="Android"> <item name="none">0</item> - <item name="screen.on">30</item> - <item name="bluetooth.active">103</item> - <item name="bluetooth.on">5</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="cpu.idle">1.6</item> - <item name="cpu.normal">100</item> - <item name="cpu.full">140</item> - <item name="dsp.audio">70</item> - <item name="dsp.video">100</item> - <item name="radio.on">3</item> - <item name="radio.active">175</item> - <item name="gps.on">120</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="cpu.idle">0.1</item> + <item name="cpu.normal">0.2</item> + <item name="cpu.full">1</item> + <item name="dsp.audio">0.1</item> + <item name="dsp.video">0.1</item> + <item name="radio.active">1</item> + <item name="gps.on">1</item> + <array name="radio.on"> <!-- Strength 0 to BINS-1 --> + <value>1</value> + <value>0.1</value> + </array> </device> |