"Malfunction" to me suggests that it was running, but it was putting out air at the wrong temperature. It was cooler or warmer than desired. If it stopped working, just say "it broke" in the middle of the night.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.