Add thermald option, credits to ZJL

Change-Id: Ia5ae8a4e80ea7ef6546caeb87e5eb574501f550f