sm8250-common: init: Enable fastchg_fw_update and ui_soc_decimal on boot
* `fastchg_fw_update` seems to be needed to initialize VOOC / Warp charging. * `ui_soc_decimal` isn't exactly needed, as it seems to be more for enabling the ability to calculate decimal percentages for remaining battery capacity on the lockscreen for Oxygen OS. Nevertheless, it doesn't seem to cause harm to enable this anyway. Change-Id: I03dd1abe9c2c7be0b7b7576721b6f6338f1afd46
This commit is contained in:
@@ -5,6 +5,10 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
on fs
|
on fs
|
||||||
|
# Charger
|
||||||
|
write /proc/fastchg_fw_update 1
|
||||||
|
write /proc/ui_soc_decimal 1
|
||||||
|
|
||||||
# Update touchpanel firmware in case we ship newer firmware in /odm
|
# Update touchpanel firmware in case we ship newer firmware in /odm
|
||||||
write /proc/touchpanel/tp_fw_update 0
|
write /proc/touchpanel/tp_fw_update 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user