The term I like to use is “mailing it in”.
Someone is physically on the job, but mentally they are in another location.
Zig Ziglar called it traveling — people in one place thinking about being somewhere else.
I can’t fault people for wanting to be elsewhere, but do the best now and then move on. Nobody benefits from complacency.