This file is indexed.

/etc/thermald/thermal-conf.xml is in thermald 1.5-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<?xml version="1.0"?>

<!--
use "man thermal-conf.xml" for details
-->

<!-- BEGIN -->
<ThermalConfiguration>
<Platform>
	<Name>Generic X86 Laptop Device</Name>
	<ProductName>EXAMPLE_SYSTEM</ProductName>
	<Preference>QUIET</Preference>
	<ThermalSensors>
		<ThermalSensor>
			<Type>TSKN</Type>
			<AsyncCapable>1</AsyncCapable>
		</ThermalSensor>
	</ThermalSensors>
	<ThermalZones>
		<ThermalZone>
			<Type>SKIN</Type>
			<TripPoints>
				<TripPoint>
					<SensorType>TSKN</SensorType>
					<Temperature>55000</Temperature>
					<type>passive</type>
					<ControlType>SEQUENTIAL</ControlType>
					<CoolingDevice>
						<index>1</index>
						<type>rapl_controller</type>
						<influence> 100 </influence>
						<SamplingPeriod> 16 </SamplingPeriod>
					</CoolingDevice>
					<CoolingDevice>
						<index>2</index>
						<type>intel_powerclamp</type>
						<influence> 100 </influence>
						<SamplingPeriod> 12 </SamplingPeriod>
					</CoolingDevice>
				</TripPoint>
			</TripPoints>
		</ThermalZone>
	</ThermalZones>
</Platform>

<!-- Thermal configuration example only -->
<Platform>
	<Name>Example Platform Name</Name>
	<!--UUID is optional, if present this will be matched -->
	<!-- Both product name and UUID can contain
		wild card "*", which matches any platform
	 -->
	<UUID>Example UUID</UUID>
	<ProductName>Example Product Name</ProductName>
	<Preference>QUIET</Preference>
	<ThermalSensors>
		<ThermalSensor>
			<!-- New Sensor with a type and path -->
			<Type>example_sensor_1</Type>
			<Path>/some_path</Path>
			<AsyncCapable>0</AsyncCapable>
		</ThermalSensor>
		<ThermalSensor>
			<!-- Already present in thermal sysfs,
				enable this or add/change config
				For example, here we are indicating that
				sensor can do async events to avoid polling
			-->
			<Type>example_thermal_sysfs_sensor</Type>
			<!-- If async capable, then we don't need to poll -->
			<AsyncCapable>1</AsyncCapable>
		</ThermalSensor>
		<ThermalSensor>
			<!-- Examle of a virtual sensor. This sensor
				depends on other real sensor or
				virtual sensor.
				E.g. here the temp will be
				 temp of example_sensor_1 * 0.5 + 10
			-->
			<Type>example_virtual_sensor</Type>
			<Virtual>1</Virtual>
			<SensorLink>
				<SensorType>example_sensor_1</SensorType>
				<Multiplier> 0.5 </Multiplier>
				<Offset> 10 </Offset>
			</SensorLink>
		</ThermalSensor>

	</ThermalSensors>
	<ThermalZones>
		<ThermalZone>
			<Type>Example Zone type</Type>
			<TripPoints>
				<TripPoint>
					<SensorType>example_sensor_1</SensorType>
					<!-- Temperature at which to take action -->
					<Temperature> 75000 </Temperature>
					<!-- max/passive/active
						If a MAX type is specified, then
						daemon will use PID control
						to aggresively throttle to avoid
						reaching this temp.
					 -->
					<type>max</type>
					<!-- SEQUENTIAL | PARALLEL
					When a trip point temp is violated, then
					number of cooling device can be activated.
					If control type is SEQUENTIAL then
					It will exhaust first cooling device before trying
					next.
					-->
					<ControlType>SEQUENTIAL</ControlType>
					<CoolingDevice>
						<index>1</index>
						<type>example_cooling_device</type>
						<!-- Influence will be used order cooling devices.
							First cooling device will be used, which has
							highest influence.
						-->
						<influence> 100 </influence>
						<!-- Delay in using this cdev, this takes some time
						too actually cool a zone
						-->
						<SamplingPeriod> 12 </SamplingPeriod>
					</CoolingDevice>
				</TripPoint>

			</TripPoints>
		</ThermalZone>
	</ThermalZones>
	<CoolingDevices>
		<CoolingDevice>
			<!--
				Cooling device can be specified
				by a type and optionally a sysfs path
				If the type already present in thermal sysfs
				no need of a path.
				Compensation can use min/max and step size
				to increasing cool the system.
				Debounce period can be used to force
				a waiting period for action
			-->
			<Type>example_cooling_device</Type>
			<MinState>0</MinState>
			<IncDecStep>10</IncDecStep>
			<ReadBack> 0 </ReadBack>
			<MaxState>50</MaxState>
			<DebouncePeriod>5000</DebouncePeriod>
			<!--
				If there are no PID parameter
				compensation increase step wise and exponentaially
				if single step is not able to change trend.
				Alternatively a PID parameters can be specified
				then next step will use PID calculation using
				provided PID constants.
			-->>
			<PidControl>
				<kp>0.001</kp>
				<kd>0.0001</kd>
				<ki>0.0001</ki>
			</PidControl>
		</CoolingDevice>
	</CoolingDevices>
</Platform>
</ThermalConfiguration>
<!-- END -->