intelli-thermal: fix stats calculations

Signed-off-by: Paul Reioux <reioux@gmail.com>

idea is taken here -
https://github.com/faux123/htc-m7/commit/7a1cdf6af20f144c20d4ba107f3ab00fc04a27c6