Automatic battery current regulation method