simple thermals by sultaxda
<QUOTE]>
This enables thermal monitoring capability in the kernel in the absence of a system wide thermal monitoring entity. Monitors VADC temperature and limits the max frequency of the cores. The code is simple, uses 3 throttling steps, and is completely configurable via sysfs.
All thermal zones must be configured before enabling thermal mitigation. Example for configuring one of the 3 thermal zones (high, mid, low): echo "1728000 52 48" > /sys/kernel/msm_thermal/low_thresh
Where 1728000 is the frequency to throttle to in KHz, 52 is the throttle temperature in degrees C, and 48 is the unthrottle temperature in degrees C. None of the temperatures set for a zone are allowed to overlap the the temperatures set for another zone. Once all zones all configured, do this to enable thermal mitigation: echo "1" > /sys/kernel/msm_thermal/enabled
here are all the sysfs supported by ther thermal solution
/sys/kernel/msm_thermal/low_thresh /sys/kernel/msm_thermal/mid_thresh /sys/kernel/msm_thermal/high_thresh /sys/kernel/msm_thermal/sampling_ms /sys/kernel/msm_thermal/enabled /sys/kernel/msm_thermal/user_maxfreq
if possible pls add to the app
Duplicate of one of mine https://github.com/Grarak/KernelAdiutor/issues/198