If the upper limit is exceeded, the current reference is limited to the maximum continuous battery current, whereas if the current reference has fallen below the lower limit and is thus maintained for a predefined time interval (20 s herein), this is indicative of a fully charged battery; therefore, the charging process is stopped.