# Customize a thermal zone The thermal zone connects the Tsens hardware information, temperature thresholds, and mitigation actions. The thermal framework creates node IDs for each thermal zone rule defined in the device tree. The following table lists the `sysfs` commands used to read and customize the thermal zone configurations: Note `` in the table represents thermal zone ID. Table : Description of thermal zone commands | Commands | Description | | --- | --- | | ls /sys/class/thermal/thermal_zone*
Copy to clipboard | Lists all thermal zones and their IDs that the device contains | | cat /sys/class/thermal/thermal_zone/type
Copy to clipboard | Provides the names of thermal zones that the device
contains | | echo enabled > /sys/class/thermal/thermal_zone/mode
Copy to clipboard | Enables a thermal zone


Note


All thermal zones are enabled by default. | | echo disabled > /sys/class/thermal/thermal_zone/mode
Copy to clipboard | Disables a thermal zone | | >
>
> echo >/sys/class/thermal/thermal_zone/trip_point__temp
> Copy to clipboard



Here,


`trip_temp` is the temperature threshold in m°C. `A`
denotes trip point numerical.
For example, you can modify the temperature threshold for a
trip point 0 using the following command:



>
>
> echo 95000 > /sys/class/thermal/thermal_zone20/trip_point_0_temp
> Copy to clipboard |

  • Modifies the threshold temperature for trip point A


  • Verify the number of trip points available to the thermal
    zone in the thermal zone directory and run the command:




    /sys/class/thermal/thermal_zone<x>
    Copy to clipboard





| | >
>
> echo > /sys/class/thermal/thermal_zone/trip_point_
_hyst
> Copy to clipboard



Here,


`trip_hyst` is hysteresis value in m°C. `A` denotes trip
point numerical.
For example, you can modify hysteresis for trip point 0,
which means a clear threshold is triggered at trip\_temp-1000
m°C using the following command:



>
>
> echo 1000 > /sys/class/thermal/thermal_zone20/trip_point_0_hyst
> Copy to clipboard |

  • Modifies the hysteresis value for trip point A


  • Verify the number of trip points available to the
    thermal zone in the thermal zone directory and run the command:




    /sys/class/thermal/thermal_zone<x>
    Copy to clipboard





| Note Modifications to the temperature threshold configurations should be for test purpose only. Don’t change any thermal zone configurations of Tsens. Resetting the device changes modifications performed through sysfs commands to default values. You can add a product specific thermal zone and its rules in the device tree to control the temperature of the device according to the thermal requirement as described in: [Configure a thermal zone](https://docs.qualcomm.com/bundle/publicresource/topics/80-70029-30/customize.html). ## Next steps: - [Control heat dissipation with cooling devices](https://docs.qualcomm.com/doc/80-70030-30/topic/coolingdevices.html#coolingdevices) - [Receive sensor temperature notifications](https://docs.qualcomm.com/doc/80-70030-30/topic/notificationtouserspace.html#notificationtouserspace) Last Published: Jun 22, 2026 [Previous Topic Learn about thermal interfaces](https://docs.qualcomm.com/bundle/publicresource/80-70030-30/topics/thermal-interfaces.md) [Next Topic Control heat dissipation with cooling devices](https://docs.qualcomm.com/bundle/publicresource/80-70030-30/topics/coolingdevices.md)