This question already has an answer here:
I installed Ubuntu 15.04 (64 bit) on a DELL XPS 13 (model 9343, 2015 edition - bios A03). It is a dual boot machine (Windows and Linux). I am having an annoying problem: Ubuntu randomly freezes. The screen does NOT go blank, mouse and keyboard do not work, touchpad does not work. I ran the bios diagnostic tests and found no hardware problems. My kernel is 3.19.0-16.