Add support for OEM fast charger detection
This commit is contained in:
parent
b58c31a36b
commit
69cc5afe54
@ -447,4 +447,9 @@
|
|||||||
black in software (to avoid aliasing or emulate a cutout that is not physically existent).
|
black in software (to avoid aliasing or emulate a cutout that is not physically existent).
|
||||||
-->
|
-->
|
||||||
<bool name="config_fillMainBuiltInDisplayCutout">true</bool>
|
<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>
|
</resources>
|
||||||
|
Loading…
Reference in New Issue
Block a user