Use thermal zones instead of CPU temp
Simplify...