Incidentally, this is why you'll sometimes see an improvement in battery life if you do a full discharge. It's not that it's good for the battery itself (quite the opposite, in fact), but it gives the estimator a better view of how the battery is behaving, so it can better estimate the charge level at any given point.