Complained when awoken after midnight (7)
I believe the answer is:
groused
'complained' is the definition.
(grousing is a kind of complaining)
'awoken after midnight' is the wordplay.
I cannot really see how this works, but
'midnight' could be 'g' and 'g' is found in the answer.
The remaining letters 'roused' is a valid word which might be clued in a way I don't see.
This may be the basis of clue (or it may be nonsense).
'when' acts as a link.
Can you help me to learn more?
(Other definitions for groused that I've seen before include "made complaints" , "Complained" .)