Add support for OEM fast charger detection

This commit is contained in:
j7b3y 2024-12-18 22:47:46 +09:00
parent b58c31a36b
commit 69cc5afe54

View File

@ -447,4 +447,9 @@
black in software (to avoid aliasing or emulate a cutout that is not physically existent).
-->
<bool name="config_fillMainBuiltInDisplayCutout">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/qcom-battery/fastchg_mode</string>
<!-- Expected value from fast charging status file -->
<string name="config_oemFastChargerStatusValue" translatable="false">1</string>
</resources>