cpu temperature sensor

noodles101

Member
Jul 11, 2013
5
0
0
Visit site
I have started using cool tool (lame name) and under the custom label i found it asking me for a "custom label path" i figure this is a path the access a sensor."/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq" which is obviously reading the frequency but this is rather pointless since there is a set label in the app for this. I want to know what i should change it to, to read the temperature of the CPU. Also extra brownie points if you could help out with other "paths" i could put in that might be nice to monitor.
 

el_dedo

New member
Aug 4, 2013
1
0
0
Visit site
here is a start, sort of, from a Nexus4, running 4.3

#side notes
#cat /etc/thermald.conf ##that sensors 7, 8, 9 & 10 appear to be core temperatures
#cat /sys/class/power_supply/battery/temp ##battery
#cat /sys/class/thermal/thermal_zone*/temp ##zones
#root@mako:/etc # cat thermald.conf
#sampling 5000

#[tsens_tz_sensor0]
#sampling 5000
#thresholds 10
#thresholds_clr 5
#actions none
#action_info 0

#[tsens_tz_sensor1]
#sampling 5000
#thresholds 60
#thresholds_clr 57
#actions none
#action_info 0

#[tsens_tz_sensor2]
#sampling 5000
#thresholds 60
#thresholds_clr 57
#actions none
#action_info 0

#[tsens_tz_sensor3]
#sampling 5000
#thresholds 60
#thresholds_clr 57
#actions none
#action_info 0

#[tsens_tz_sensor4]
#sampling 5000
#thresholds 60
#thresholds_clr 57
#actions none
#action_info 0

#[tsens_tz_sensor5]
##sampling 5000
#thresholds 60
#thresholds_clr 57
actions none
action_info 0

[tsens_tz_sensor6]
sampling 5000
thresholds 60
thresholds_clr 57
actions none
action_info 0

[tsens_tz_sensor7]
sampling 1500
thresholds 95 120
thresholds_clr 87 115
actions cpu cpu+shutdown
action_info 384000 384000+5000

[tsens_tz_sensor8]
sampling 1500
thresholds 95 120
thresholds_clr 87 115
actions cpu cpu+shutdown
action_info 384000 384000+5000

[tsens_tz_sensor9]
sampling 1500
thresholds 95 120
thresholds_clr 87 115
actions cpu cpu+shutdown
action_info 384000 384000+5000

[tsens_tz_sensor10]
sampling 1500
thresholds 95 120
thresholds_clr 87 115
actions cpu cpu+shutdown
action_info 384000 384000+5000

[batt_therm]
sampling 1500
thresholds 410 420 430 440 450
thresholds_clr 400 410 420 430 440
actions cpu+lcd+battery cpu+lcd+battery cpu+lcd+battery cpu+lcd+battery cpu+lcd+battery
action_info 1350000+192+0 1134000+181+1 1026000+181+1 918000+171+2 810000+171+3