sm6150-common: rootdir: Provide thermal profile permissions

Change-Id: I216b4438047657137b02497d0654faed890126e3
Signed-off-by: johnmart19 <johnivan19999@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
This commit is contained in:
johnmart19
2023-03-28 20:42:16 +03:00
committed by therealmharc
parent 6265148309
commit eee0d82aac

View File

@@ -79,7 +79,12 @@ on boot
start rfs_access
# Set thermal mode to evaluation
chmod 0664 /sys/class/power_supply/battery/dc_thermal_levels
chmod 0664 /sys/class/thermal/thermal_message/sconfig
chown system system /sys/class/thermal/thermal_message/sconfig
chmod 0664 /sys/class/thermal/thermal_message/balance_mode
chown system system /sys/class/thermal/thermal_message/balance_mode
chmod 0664 /sys/class/thermal/thermal_message/flash_state
write /sys/class/thermal/thermal_message/sconfig 10
# Set doze mode permissions