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.settings.applications.LayoutPreference 25 android:key="battery_header" 26 android:selectable="false" 27 android:layout="@layout/battery_header" /> 28 29 <PreferenceCategory 30 android:key="battery_tip" 31 android:layout="@layout/preference_category_no_title" /> 32 33 <Preference 34 android:fragment="com.android.settings.fuelgauge.batterysaver.BatterySaverSettings" 35 android:key="battery_saver_summary" 36 android:title="@string/battery_saver" 37 settings:controller="com.android.settings.fuelgauge.BatterySaverController" 38 settings:platform_slice="true" 39 settings:allowDividerAbove="true" /> 40 41 <Preference 42 android:fragment="com.android.settings.fuelgauge.SmartBatterySettings" 43 android:key="smart_battery_manager" 44 android:title="@string/smart_battery_manager_title" 45 settings:controller="com.android.settings.fuelgauge.batterytip.BatteryManagerPreferenceController" /> 46 47 <SwitchPreference 48 android:key="battery_percentage" 49 android:title="@string/battery_percentage" 50 android:summary="@string/battery_percentage_description" /> 51 52 53 <com.android.settings.fuelgauge.PowerGaugePreference 54 android:key="last_full_charge" 55 android:title="@string/battery_last_full_charge" 56 android:selectable="false" 57 settings:allowDividerAbove="true" /> 58 59 <com.android.settings.fuelgauge.PowerGaugePreference 60 android:key="screen_usage" 61 android:title="@string/device_screen_usage" 62 android:selectable="false" /> 63 64 </PreferenceScreen> 65