I had the same issue for months and was told by different tech guys it's the software, it's an app, it's this and that. I changed my flip case to the original back case and problem stopped.
The more you use it the looser it gets and it causes shorts via the contacts inside the case. Look out for...