summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2009-05-22 15:18:46 -0700
committerAmith Yamasani <yamasani@google.com>2009-05-22 19:41:32 -0700
commit2a2daf960c43a2c97b1c6da430138e08e9caa54f (patch)
tree47cd2ce73aa73de2996f611a5fc14457e5bbcca2 /res/xml
parent818078310759e3fbd227c578e20a54e935b1b92a (diff)
downloadpackages_apps_settings-2a2daf960c43a2c97b1c6da430138e08e9caa54f.zip
packages_apps_settings-2a2daf960c43a2c97b1c6da430138e08e9caa54f.tar.gz
packages_apps_settings-2a2daf960c43a2c97b1c6da430138e08e9caa54f.tar.bz2
Top level screen for App Fuel Gauge.
Shows sorted list of power usage (with some debug information) by the top 10 apps and subsystems. Doesn't yet take into account certain subsystems such as data network usage, audio/video DSP usage, Bluetooth and lights other than screen backlight. Screen, Idle, Wifi and Voice usage and CPU time are accounted for. Also need to add detail screens for each item and suggested actions.
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/application_settings.xml8
-rw-r--r--res/xml/power_usage_summary.xml24
2 files changed, 32 insertions, 0 deletions
diff --git a/res/xml/application_settings.xml b/res/xml/application_settings.xml
index 8d0a7cb..4da2036 100644
--- a/res/xml/application_settings.xml
+++ b/res/xml/application_settings.xml
@@ -36,6 +36,14 @@
</PreferenceScreen>
<PreferenceScreen
+ android:key="power_usage"
+ android:title="@string/power_usage_summary_title">
+ <intent android:action="android.intent.action.MAIN"
+ android:targetPackage="com.android.settings"
+ android:targetClass="com.android.settings.fuelgauge.PowerUsageSummary" />
+ </PreferenceScreen>
+
+ <PreferenceScreen
android:title="@string/manageapplications_settings_title"
android:summary="@string/manageapplications_settings_summary">
<intent android:action="android.intent.action.MAIN"
diff --git a/res/xml/power_usage_summary.xml b/res/xml/power_usage_summary.xml
new file mode 100644
index 0000000..0c35905
--- /dev/null
+++ b/res/xml/power_usage_summary.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 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.
+-->
+
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ android:title="@string/power_usage_summary_title">
+
+ <PreferenceCategory
+ android:key="app_list"
+ android:title="Application usage"/>
+
+</PreferenceScreen>