Fix qcom thermal breaking franco's code