Guest, we need more info to help you. When you say, "The battery runs out and it just hard resets," that is not enough info to come to some solution.
From what I can piece together, I would say charge your battery. If something is wrong with your battery, get it replaced.
That is all that I can help you with.