Context: Y has just travelled from a different city to meet X.

X: Did you sleep on your way here?
Y: I slept for half of the flight.