Battery with internal resistance