air 2 pro screen blank after few seconds

The screen goes black after a few seconds. Happens on Mac, android (pixel 9 pro), iPhone 16 pro max.

My guess is that proximity sensor is not working.

Covering it with finger didn't help.

Also updating the glass via mac nebula and pixel nebula failed.

unplugging then plugging again causes the image to come back and then it goes black after a few seconds.

Any idea?