The temperature sensor is actually in the battery rather than in the phone itself. Perhaps your battery got damaged by the impact? Have you tried another one?