When a laptop's battery is fully charged, the laptop switches from the AC charger to the battery. When the battery's capacity drops down to 95% or so it switches back to the AC charger.
Empirical evidence has shown that when a battery is close to it's full charge there is a chemical reaction that takes place that forms "lithium ion plates" in the laptop's battery. Basically the closer the battery is near it's maximum capacity the more likely this chemical reaction will take place. What happens is lithium ions starts to combine with each to form plates. When this happens the battery capacity starts to decrease because those lithium ions can no longer hold a charge. The more lithium ion plates there are the lower the battery capacity will be.
Generally it is bad to fully charge a laptop's battery. When Windows 7 was the most current OS, some laptop brands like Dell and Lenovo provided custom power management programs that would basically tell Windows to stop charging the battery once it reaches something like 60% - 80% depending on the brand. You can manually override it to fully charge the battery if you were going to use it away from an AC outlet. However, Windows 8 and Windows 10 do not support those types of power management programs.
From what I have read (which has not been confirmed) some laptop brands install batteries with higher than advertised battery capacity and the laptops are designed to only charge the battery up to the advertised capacity to help prolong the life of the battery. For example, the HP Spectre x360 is advertised as having a 56WHr battery. The actual capacity could be 66WHr, but the laptop will only charge it to "56WHr", that means whenever Windows tells you the battery is fully charged, in actuality it is only at about 85% of the battery's true maximum charge. Again, this is just speculation and has not been confirmed to the best of my knowledge.