1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 The Android Open Source Project
3
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
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
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.
15-->
16
17<PreferenceScreen
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:settings="http://schemas.android.com/apk/res-auto"
20    android:key="power_usage_summary_screen"
21    android:title="@string/power_usage_summary_title"
22    settings:keywords="@string/keywords_battery">
23
24    <com.android.settingslib.widget.LayoutPreference
25        android:key="battery_header"
26        android:title="@string/summary_placeholder"
27        android:selectable="false"
28        android:layout="@layout/battery_header"
29        settings:controller="com.android.settings.fuelgauge.BatteryHeaderPreferenceController" />
30
31    <com.android.settings.widget.CardPreference
32        android:key="battery_tip"
33        android:title="@string/summary_placeholder"
34        settings:controller="com.android.settings.fuelgauge.batterytip.BatteryTipPreferenceController" />
35
36    <Preference
37        android:fragment="com.android.settings.fuelgauge.batterysaver.BatterySaverSettings"
38        android:key="battery_saver_summary"
39        android:title="@string/battery_saver"
40        settings:controller="com.android.settings.fuelgauge.BatterySaverController"
41        settings:platform_slice="true" />
42
43    <Preference
44        android:fragment="com.android.settings.fuelgauge.SmartBatterySettings"
45        android:key="smart_battery_manager"
46        android:title="@string/smart_battery_manager_title"
47        settings:controller="com.android.settings.fuelgauge.batterytip.BatteryManagerPreferenceController" />
48
49    <SwitchPreference
50        android:key="battery_percentage"
51        android:title="@string/battery_percentage"
52        android:summary="@string/battery_percentage_description"
53        settings:controller="com.android.settings.display.BatteryPercentagePreferenceController" />
54
55
56    <com.android.settings.fuelgauge.PowerGaugePreference
57        android:key="last_full_charge"
58        android:title="@string/battery_last_full_charge"
59        android:selectable="false"
60        settings:allowDividerAbove="true" />
61
62    <com.android.settings.fuelgauge.PowerGaugePreference
63        android:key="screen_usage"
64        android:title="@string/device_screen_usage"
65        android:selectable="false" />
66
67</PreferenceScreen>
68