His thoughts were wandering and unsettled, unable to focus.
Tips
usage
飘忽 often appears in the compound 飘忽不定 - 'drifting without a fixed place', describing something unpredictable or elusive. It can describe physical movement (smoke, clouds) or abstract things (mood, ideas).