sweet: Define OEM fast charge sysfs node
* this forces android to display "charging rapidly" whenever our proprietary 33w charger is connected, based on the value of this node (0/1) Change-Id: I2a36ccb62621672e480e4b25a335410044fbb372 Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
This commit is contained in:
parent
7d896c10bf
commit
2009bc4016
@ -402,4 +402,7 @@
|
|||||||
|
|
||||||
<!-- Indicates whether device has a power button fingerprint sensor. -->
|
<!-- Indicates whether device has a power button fingerprint sensor. -->
|
||||||
<bool name="config_is_powerbutton_fps" translatable="false">true</bool>
|
<bool name="config_is_powerbutton_fps" translatable="false">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/bms/fastcharge_mode</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
Loading…
Reference in New Issue
Block a user