sm7250-common: overlay: enable oem fast charge
Signed-off-by: chandra <chandra.chaganti@hotmail.com>
This commit is contained in:
committed by
KakatkarAkshay
parent
cbdaae6070
commit
424e901ea2
@@ -66,6 +66,9 @@
|
|||||||
<bool name="config_haveHigherAspectRatioScreen">true</bool>
|
<bool name="config_haveHigherAspectRatioScreen">true</bool>
|
||||||
|
|
||||||
<!-- 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
sepolicy/vendor/system_server.te
vendored
Normal file
2
sepolicy/vendor/system_server.te
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# Allow system_server to read Fast Charging status
|
||||||
|
allow system_server vendor_sysfs_battery_supply:file { getattr open read };
|
||||||
Reference in New Issue
Block a user