They are both grammatical and very nearly identical in meaning. But I don't like the comma in 1.
I would prefer 2 if I knew that the person was not currently working on homework.
I would probably prefer 1 if I did not know whether the person was currently doing homework.
- For Teachers