My Macbook pro has been in sleep with open lid and power. It suddenly waked up at 1am midnight. Screen is off actually. But fan started making loud noise, which made me believe it's up. After I closed the lid and unplugged power, fan noise stopped. What is happening here?
It's on Mojave.