My guess is it stops charging the battery once it gets to a certain point. IIRC, Lithium batteries like about a 50% charge for long-term storage.
If the battery was already fully charged, it might run the laptop off the battery until it got down to that point.