The random shutdown was a bloody annoying problem with my iPhone 6s. I gave up after dealing with Apple Support, whose diagnosis and advice was plain crap. Useless. Finally, the sap that I am, I replaced it with an iPhone 7 before I was done fully paying for the 6s. Apple customer service was embarrassingly pathetic on this one.