max temperature and power saving mode functionality added