My Nexus 5 has been giving me issues over the past few days. Yesterday it switched off by itself and then wouldn't turn on again for an hour even though the battery was charged (probably between 80% and 90% at that time). Today it switched off and rebooted a few times at work. Then this evening, when I decided to try factory resetting it, it died (before I'd even attempted it) and won't turn on at all. Holding in the power button for over a minute does nothing.
I'm in South Africa, so I'm not sure Google would replace it.
Any suggestions, tips, tricks, hints, spells?