mirror of
https://github.com/BobTheBlinker/android_device_motorola_sm6375-common.git
synced 2026-10-28 10:41:40 -04:00
sm6375-common: Build Lineage Health HAL
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
This commit is contained in:
parent
93bb4b5ca1
commit
6b8e6a885d
2 changed files with 9 additions and 3 deletions
|
|
@ -7,9 +7,9 @@ on early-boot
|
|||
chown system system /sys/devices/platform/soc/4804000.ufshc/ufshid/trigger
|
||||
|
||||
on boot
|
||||
# Set adaptive charging perms for HAL
|
||||
chown system system /sys/module/qpnp_adaptive_charge/parameters/upper_limit
|
||||
chown system system /sys/module/qpnp_adaptive_charge/parameters/lower_limit
|
||||
# Set adaptive charging perms for HAL
|
||||
chown system system /sys/module/qpnp_adaptive_charge/parameters/charging_enabled
|
||||
chmod 0660 /sys/module/qpnp_adaptive_charge/parameters/charging_enabled
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
write /sys/devices/platform/soc/soc:mmi,charger/state_sync 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue