sm7250-common: overlay: enable oem fast charge

Signed-off-by: chandra <chandra.chaganti@hotmail.com>
This commit is contained in:
Chandra Chaganti
2021-10-10 15:55:37 +02:00
committed by KakatkarAkshay
parent cbdaae6070
commit 424e901ea2
2 changed files with 6 additions and 1 deletions
@@ -68,4 +68,7 @@
<!-- Shows the required view for in-display fingerprint --> <!-- Shows the required view for in-display fingerprint -->
<bool name="config_supportsInDisplayFingerprint">true</bool> <bool name="config_supportsInDisplayFingerprint">true</bool>
<!-- Path to fast charging status file to detect whether an oem fast charger is active -->
<string name="config_oemFastChargerStatusPath" translatable="false">/sys/class/power_supply/battery/fastchg_status</string>
</resources> </resources>
+2
View File
@@ -0,0 +1,2 @@
# Allow system_server to read Fast Charging status
allow system_server vendor_sysfs_battery_supply:file { getattr open read };