avicii: overlay: Enable smart charging

Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
This commit is contained in:
?UTF-8?q?Ph=E1=BA=A1m=20Ti=C3=AAn=20Sinh?=
2023-04-14 23:53:25 +05:30
committed by AmolAmrit
parent 464f7e5dad
commit b08262f3ce
2 changed files with 10 additions and 0 deletions

View File

@@ -29,6 +29,10 @@ on early-boot
write /sys/bus/msm_subsys/devices/subsys11/restart_level RELATED
on boot
# Battery
chown system system /sys/devices/virtual/oplus_chg/battery/mmi_charging_enable
# Display
chown system system /dev/oplus_display
chown system system /sys/kernel/oplus_display/dimlayer_bl_en