AdnanHodzic / AdnanHodzic/auto-cpufreq

[FR] Option for automatically suspend/hibernate if CPU Temperature becomes too high (to avoid hard poweroff/data loss)

Đang mở
#870 8 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
7.8k
Fork
357
Merge trung bình
3 ngày 8 giờ
Pull request đã merge (30 ngày)
14

Mô tả

Hi,
Generally if CPU temperature becomes too high in order to avoid CPU damage BIOS forces **hard poweroff**, which can easily **cause a data loss**.

It would be much safer if auto-cpufreq monitored CPU temperature and would either **automatically suspend/hibernate** PC or offer a user to do so (or rather give a user N seconds opportunity to cancel suspend/hibernate).
Suspend/hibernate would allow CPU to cool down.

An intermediate step could be also automatically switching to `powersave` mode when temperature gets close to the threshold temperature. E.g. a number of phones do this automatically when hot.
Suspend/hibernate might still be unavoidable though.
Clearly suspend/hibernate are way better than **hard poweroff** when its imminent.

A user need to be able to set a temperature threshold of cause.
Simply raising temperature threshold isn't a solution as HW can overheat and got damaged.
Thanks.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.