For anyone having this problem..
I had the same issue last week and SOLVED it, and my Nexus5 has not created any trouble since then, for almost 1 week!
My solution was: I've read a lot of forum pages about this and none of the solutions had worked for me until I've read someone saying a MAGNET...