MBA M1 sometimes goes to sleep when using external monitor
Hello! Lately, I have been having an issue where whenever I would plug in an external display to my MBA and start using it (lid closed), the laptop would go to sleep sometimes while using it and I would have to click with my mouse to wake it back up. This usually happens soon after I plug in my external monitor (towards the beginning of each usage). I am using the latest software.
Why is this happening, and how do I fix it? Any help would be greatly appreciated. Thanks a lot!
MacBook Air 13″, macOS 11.6