Professors McGonagall and Moody kept them working until the very last second of their classes too, and Snape, of course, would no sooner let them play games in class than adopt Harry.
I would often come back from class, do a couple hours of studying, and use laundry or groceries or dinner as a large study break, and then study more when I got back home.