Try mining cryptocurrency, running prime95, playing fps shooters, or even dota on high settings. You will notice the battery draining while plugged in. You also see it if you are on an airplane, but that is usually because the charger tries to pull too much and overheats and gives up ghost. Macbooks have underpowered chargers.