Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e71061a4 authored by Zhao Wei Liew's avatar Zhao Wei Liew Committed by Gerrit Code Review
Browse files

Settings: battery: Add CMParts perf profiles preference

Replace the original battery saver preference with the performance
profiles preference in CMParts. We'll encapsulate all settings
related to battery profiles within the preference.

Change-Id: I240e7f84838677b3755fc28cee4e982700829271
parent 9d1a4fb2
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -19,9 +19,9 @@
        android:title="@string/power_usage_summary_title"
        settings:keywords="@string/keywords_battery">

        <com.android.settings.fuelgauge.BatterySaverPreference
            android:title="@string/battery_saver"
            android:fragment="com.android.settings.fuelgauge.BatterySaverSettings" />
        <!-- Performance profiles -->
        <org.cyanogenmod.internal.cmparts.CMPartsPreference
            android:key="perf_profile_settings" />

        <com.android.settings.fuelgauge.BatteryHistoryPreference
            android:key="battery_history" />