doodled

ˈduːd(ə)l

verb

scribble absent-mindedly.

he was only doodling in the margin