1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2009 The Android Open Source Project
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
8 http://www.apache.org/licenses/LICENSE-2.0
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
18 xmlns:android="http://schemas.android.com/apk/res/android"
19 xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
20 android:title="@string/power_usage_summary_title"
21 settings:keywords="@string/keywords_battery">
23 <com.android.settings.applications.LayoutPreference
24 android:key="battery_header"
25 android:selectable="true"
26 android:layout="@layout/battery_header"/>
29 android:key="high_usage"
30 android:icon="@drawable/ic_battery_alert_24dp"
31 android:title="@string/power_high_usage_title"/>
34 android:key="device_usage_list">
36 <com.android.settings.fuelgauge.PowerGaugePreference
37 android:key="last_full_charge"
38 android:title="@string/battery_last_full_charge"
39 android:selectable="false"/>
41 <com.android.settings.fuelgauge.PowerGaugePreference
42 android:key="screen_usage"
43 android:title="@string/device_screen_usage"
44 android:selectable="false"/>
49 android:key="power_management"
50 android:title="@string/battery_power_management">
52 <com.android.settings.widget.MasterSwitchPreference
53 android:fragment="com.android.settings.fuelgauge.BatterySaverSettings"
54 android:key="battery_saver_summary"
55 android:title="@string/battery_saver"/>
58 android:key="battery_percentage"
59 android:title="@string/battery_percentage"
60 android:summary="@string/battery_percentage_description"/>
62 <!-- Cross-listed item, if you change this, also change it in display_settings.xml -->
64 android:key="auto_brightness_battery"
65 android:title="@string/auto_brightness_title"
66 android:summary="@string/auto_brightness_summary"
67 settings:keywords="@string/keywords_display_auto_brightness"/>
69 <!-- Cross-listed item, if you change this, also change it in display_settings.xml -->
70 <com.android.settings.TimeoutListPreference
71 android:key="screen_timeout_battery"
72 android:title="@string/screen_timeout"
73 android:summary="@string/screen_timeout_summary"
74 android:entries="@array/screen_timeout_entries"
75 android:entryValues="@array/screen_timeout_values"/>
77 <!-- Cross-listed item, if you change this, also change it in display_settings.xml -->
79 android:key="ambient_display_battery"
80 android:title="@string/ambient_display_screen_title"
81 android:fragment="com.android.settings.display.AmbientDisplaySettings" />
86 android:key="app_list"
87 android:title="@string/power_usage_list_summary"/>