mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 07:38:17 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user