blob: 8c4a55ba2c871d5803086878ff89d02f72455313 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
on late-fs
chmod 0660 /sys/class/hw_power/interface/iin_thermal
chown system system /sys/class/hw_power/interface/iin_thermal
chmod 0660 /sys/class/hw_power/interface/iin_limit
chown system system /sys/class/hw_power/interface/iin_limit
chmod 0660 /sys/class/hw_power/interface/iin_thermal_all
chown system system /sys/class/hw_power/interface/iin_thermal_all
chown system system /sys/class/hw_power/adsp_dts/thermal_config
chown system system /sys/class/hw_power/adsp_dts/thermal_basic
chown system system /sys/class/hw_power/adsp_dts/thermal_stc_config
start bms_thermal
on property:sys.bms_limit_mode=hota
start bms_thermal_h
on property:sys.bms_limit_mode=normal
start bms_thermal_n
on charger
chmod 0660 /sys/class/hw_power/interface/iin_thermal
chown system system /sys/class/hw_power/interface/iin_thermal
chmod 0660 /sys/class/hw_power/interface/iin_limit
chown system system /sys/class/hw_power/interface/iin_limit
chmod 0660 /sys/class/hw_power/interface/iin_thermal_all
chown system system /sys/class/hw_power/interface/iin_thermal_all
chown system system /sys/class/hw_power/adsp_dts/thermal_config
chown system system /sys/class/hw_power/adsp_dts/thermal_basic
chown system system /sys/class/hw_power/adsp_dts/thermal_stc_config
on property:ro.boot.mode=charger
start bms_thermal
service bms_thermal /vendor/bin/bms_thermal
user system
group system
disabled
oneshot
service bms_thermal_h /vendor/bin/bms_thermal -m 0
user system
group system
disabled
oneshot
service bms_thermal_n /vendor/bin/bms_thermal -m 1
user system
group system
disabled
oneshot
|