Malfoy's nightmares are normally easy to deal with. He has a pattern; he begins making distressed sounds in his sleep and shifting restlessly, and with the way they sleep beside each other and the fact that Hermione is a light sleeper these days, his restlessness is enough to wake her.