For example, I had my phone plugged in until 9 am this morning. And it suddenly shut down on me an hour ago. The only reason I think this is more a software problem is because when I plug it in to recharge, the battery indicator doesn't show empty, it shows the battery already half full or three quarters full and filling up (I.e. when the battery truly dies and you plug it in, a battery animation displays it filling up. Mine appeared almost fully filled). That's why I think it is a software issue