Didn't know that. Thank you. Although, for this to work then, it will go against my habit of switching off the charger as soon as the battery gets charged 100%.
> switching off the charger as soon as the battery gets charged 100%.
Batteries have a limited amount of charge/discharge cycles - if you are doing this you're unnecessarily wasting those. Keeping the device plugged in once charged is absolutely fine - the battery itself will stop charging and the power will be used only to power the device itself so it doesn't have to touch the battery anymore.
This stupid advice has been going around for ages and if it ever applied it definitely doesn't apply now - all modern lithium batteries use charging circuitry that stop charging beyond a certain point regardless of whether it's plugged in or not - if they didn't you'd be seeing battery fires everywhere.
> but why would you have such habit even when stationary and the charger is lying around?
Two reasons - One, the charger heats up a lot when I keep it on. Of course, you don't feel it unless you are nearby or touch it. Two, in the past I once had the charger destroyed due to a power surge. The Macbook remained fine after that power surge but I had to replace the charger since it stopped charging after that.
About the heat: I have a MacBook Pro M1 16" and a third-party 65 W charger, it barely gets warm, far from even recognising by being close to it. Perhaps you should get a better charger if it heats up so much. The one I'm using: https://www.amazon.com/Charger-Baseus-Adapter-Delivery-Folda...