How to keep your Oculus Quest 2 From Going to Sleep When You Take It Off

A proximity sensor detects how far away your face is from the headset and that’s how the Oculus Quest can detect if it is on your head or not

When it is not on your head it goes into standby mode to save battery.

[1] Go to here:

C:\Program Files\Oculus\Support\oculus-diagnostics

It looks like this for me: