I use my MacBook connected to an external monitor via HDMI with the lid closed, and plugged in to AC power (in closed clamshell mode). If I disconnect the power cord (usually happens accidentally), the external monitor will lose signal, USB devices become disconnected and I need to enter my password and unlock the screen. Is there any way to prevent my Mac from stopping HDMI input when the power is unplugged in closed clamshell mode?
I'm aware of NoSleep and InsomniaX, they work fine for preventing sleep when the lid is closed but they don't prevent screen lock when AC becomes unplugged (with closed clamshell mode).