Bouleversee wrote: I don't begin to understand why this should happen
There's software out there which is designed to stop batteries charging before they reach 100%. Usually something like 80% or 85% is the trigger point. But if it misbehaves ...
The disconnect/reconnect is the usual cold shower of being switched off and then on again, which often coaxes reluctant electronic equipment into behaving.