Merge "Revert "thermal: add getUndefinedTemperature function.""