Ответ:

When granny was reading a book on the sofa, she fell asleep.