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 e5d83b4..56fa6f4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -75,6 +75,7 @@
"lottie",
"windowExtLib",
"org.lineageos.platform.internal",
+ "vendor.lineage.fastcharge-V1.0-java",
],
libs: [