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:
SagarMakhar
2022-01-13 22:47:27 +03:00
committed by LuK1337
parent ec98bb0f8d
commit a6287e33e1

View File

@@ -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