It sounds like you have a bad battery to be honest. I don't know how old your phone is but you might want to get a battery replacement. In the mean time when your battery becomes low, try to disable non essential features on your phone like wireless, bluetooth, lower the brightness, close non essential apps.