Macbook Air M1 display randomly goes black (only backlight is on) and returns to normal after sometime.
So I was wroking on my laptop and its display went black suddenly. I could see the backlight, everything else was working fine. I connected it to an external display and everything worked fine as expected. I restarted it for many times, did all the troubleshooting which were written in all the forums and reddits post but nothing worked for me. Then I left my macbook closed for few hours and boom the display started working again normally. After working on it for some more hours it again went black. Then after some hours of rest it came back again.
I reinstalled the macOS from recovery but the issue is still there. I have the latest version of macos running on it. I don't think its the display issue because it is working fine. It maybe a software issue or connection wire issue. Please help me if you know anything about this issue.
Thanks
MacBook Air 13″, macOS 15.6