Settings: Add charging control part
Change-Id: Idd82e304ccdc17cbd95b7bc64785fe579d690152
diff --git a/res/xml/power_usage_summary.xml b/res/xml/power_usage_summary.xml
index 4cf40d3..a02851d 100644
--- a/res/xml/power_usage_summary.xml
+++ b/res/xml/power_usage_summary.xml
@@ -58,6 +58,11 @@
settings:controller="com.android.settings.fuelgauge.batterytip.BatteryManagerPreferenceController"
settings:keywords="@string/keywords_battery_adaptive_preferences" />
+ <!-- Charging control -->
+ <lineageos.preference.LineagePartsPreference
+ android:key="charging_control"
+ settings:requiresService="lineagehealth" />
+
<!-- Battery light -->
<lineageos.preference.LineagePartsPreference
android:key="battery_lights"