Get temperature only on Linux, return -1 otherwise