Ever stare into space when you are bored? That's easy to do when standing in line at the grocery store. I think that's what is meant here.
Being "in a funk" is an espression used to describe someone close to depression, so I am not familiar with "drifting off into a funk," although I suppose it could be used.
She's not coming. She's in a funk about breaking up with her boyfriend.