Settings: Add FastCharge preference into Battery settings
* Several OEMs let the user decide whether to enable or disable quick
charging technology when using a quickcharge charger.
Samsung, for example, exposes a sysfs node to disable it at
will, depending on what the user sets in battery settings UI.
* Disabling fast charge may be useful for reducing the heat produced by
the device while charging, or for extending the lifespan of the battery.
* This commit introduces a switch preference for disabling fastcharge
on devices that support said feature.
Change-Id: I7dd09d357e9bd555a8efeaf9ee191e52b9f2d151
diff --git a/Android.bp b/Android.bp
index 6eb6ab9..bed663f 100644
--- a/Android.bp
+++ b/Android.bp
@@ -79,6 +79,7 @@
"SettingsLibActivityEmbedding",
"org.lineageos.platform.internal",
"LineagePreferenceLib",
+ "vendor.lineage.fastcharge-V1.0-java",
],
libs: [