Closing cover lapbook air usb connection are closed

I’m using a wireless keyboard + mouse, conected by usb adapter, when I close the cover to work with my tv screen the keyboard stop to run and I need open de cover again. I modified all the settings at windows energy but continuous the problem. If you access to BIOS and close de cover happen the same for this reason suspect of a bios setting.