• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2017 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_advanced_screen"
21    android:title="@string/advanced_battery_title"
22    settings:keywords="@string/keywords_battery_usage">
23
24    <com.android.settingslib.widget.BannerMessagePreference
25        android:key="battery_tips_card"
26        settings:controller=
27            "com.android.settings.fuelgauge.batteryusage.BatteryTipsController"
28        settings:isPreferenceVisible="false" />
29
30    <com.android.settings.fuelgauge.batteryusage.BatteryHistoryPreference
31        android:key="battery_chart"
32        settings:controller=
33            "com.android.settings.fuelgauge.batteryusage.BatteryChartPreferenceController" />
34
35    <PreferenceCategory
36        android:key="screen_on_time_category"
37        settings:controller=
38            "com.android.settings.fuelgauge.batteryusage.ScreenOnTimeController"
39        settings:isPreferenceVisible="false">
40
41        <com.android.settings.fuelgauge.batteryusage.TextViewPreference
42            android:key="screen_on_time_text"
43            settings:isPreferenceVisible="false" />
44
45    </PreferenceCategory>
46
47    <PreferenceCategory
48        android:key="battery_usage_breakdown"
49        settings:controller=
50            "com.android.settings.fuelgauge.batteryusage.BatteryUsageBreakdownController"
51        settings:isPreferenceVisible="false">
52
53        <com.android.settingslib.widget.SettingsSpinnerPreference
54            android:key="battery_usage_spinner"
55            android:order="0"
56            settings:isPreferenceVisible="false" />
57
58        <!-- App usage preference list will be added here with the order in range [100, 1000). -->
59
60        <com.android.settingslib.widget.FooterPreference
61            android:key="battery_usage_footer"
62            android:selectable="false"
63            android:order="1000"
64            settings:isPreferenceVisible="false"
65            settings:searchable="false" />
66
67    </PreferenceCategory>
68</PreferenceScreen>
69