My keyboard, mouse, and monitor lose power sometimes

hoonyyy - Updated on Nov 19, 2017 at 04:42 AM
So I just built my computer about 5 days ago, and it has following configuration:

AND Ryzen 5 1600
GTX 1060 6 gb
RAM 16 gb
SAMSUNG SSD 850 500gb
Corsair H100i V2 cooler

So after building it, everything seemed like it was going well and all the parts were working. However, sometimes my monitor, mouse, and keyboard will lose power. My desktop will still run but it seems like it's running at a really lower power since my phone connected to the pc says "improper connection" and displays like 12-15 hours remaining for charging the phone. Also, the power button is still lit up with blue light, which means that it is turned on. However, whatever I do, it wouldn't give power back to monitor, mouse, and keyboard. If I restart it by pressing the power button on my case, it reboots and works totally fine. It doesn't happen too often so I can use my pc without having too much trouble, but it still bothers me enough. What could I do fix this situation?