Since recently, my Nexus 5X keeps resetting at seemingly random moments. It happens quite often, as in every few minutes when I'm using the phone. Often when I open an app or webpage, sometimes just when it's idle.
I have the impression this is happening since I updated it to android 8.1.0 but I'm not 100% sure.
Strange observation: I think it happens less often when I have the charger cable plugged in.
I have already removed any recently installed apps, no difference. It doesn't occur with just one particular app. Chrome or Telegram of WhatsApp, it happens about anywhere.
Anyone else familiar with this problem?
Is there something I could try other than completely factory resetting it, or even returning it for a refund? (if that's still possible)