How can I disable/enable ubuntu's auto shut down feature?

Ubuntu has a feature of auto shutdown whenever it exceeds a temperature above 70 degrees Celsius. Is there any way to control this feature or prompt before the shut down?


Solution 1:

Here is a resolution:

Edit => /etc/default/grub

Edit => GRUB_CMDLINE_LINUX_DEFAULT=

Add => GRUB_CMDLINE_LINUX_DEFAULT="quiet splash thermal.nocrt=1"

Update GRUB => sudo update-grub

View settings, should be disabled => cat /proc/acpi/thermal_zone/THM/trip_points

View temperature => acpi -V or sensors

However, doing this comes at an obvious risk, whereas getting rid of dust in your PC comes at a much lower risk. Plus, it can be that not Ubuntu but your bios shuts your PC down which means that Ubuntu is the wrong place to change settings.