frame of mind

[frame of mind] {n. phr.} One's mental outlook; the state of one'spsychological condition,

There is no use trying to talk to himwhile he is in such a negative frame of mind.