Unfortunately this is becoming a common problem with Nexus devices. And some can be repaired, and others cant. The only way we will know whether it can be or not, will be if you send it in for a ‘Diagnostic’ mand we try it. You can book it in by following the link below, and hopefully we can fix the problem for you!
Nexus 5 Repairs
Many thanks (: