estimating an ohmic resistance of the battery associated with the consecutive measurements wherein the estimation is based on the consecutive measurements and wherein N is a positive integer, wherein the ohmic resistance is at least partially based on a difference between: