In the days since the Battle, and their following home imprisonment, Draco had plenty of time to think.  Except when he could actually get himself to focus on a book, all he did was think, eat when the house elves forced him to, and sleep when the nightmares let him.