Fix temperature for new power kernels
authorDaniel Klaffenbach <danielklaffenbach@gmail.com>
Thu, 5 May 2011 19:20:14 +0000 (21:20 +0200)
committerDaniel Klaffenbach <danielklaffenbach@gmail.com>
Thu, 5 May 2011 19:20:14 +0000 (21:20 +0200)
New power kernels (> v46) report the temperature in the format 386 (for
38.6 °C). We need to divide the value from the kernel by 10 in order to
display the correct temperature again.

Note: this breaks temperature reporting for older power kernels.

Thanks to misiak for pointing this out and providing a fix.


No differences found