In my case LCD cable that connects the laptop to the camera and the screen is failing. When I move the screen there is a short circuit and the computer disconnects the camera at BIOS level. The partial solution is to reinstall the BIOS (You have to do it when the computer is fully charged and connected to external power).