I've been looking over the internet how to solve this and I've seen it happened also to some S4s.
Happened with a 3/4 full battery with the phone in my pocket or just resting on a table. Every 1/2 days.
Any idea on the things to do to get rid of this problem? The phone is new and no weird app...