Trying to find a good answer (an official from Apple would be nice too!) if leaving my MacBook Pro (m2) connected to power all the time will damage the battery.
I use a KVM switch, which connects my MacBook Pro and Windows PC to my big screen, external keyboard, and mouse. For the Mac to work with the lid closed, it needs to be connected to power. This is the best solution I found to have both computers work at the same time, but I’m open to other suggestions (especially because switching from the PC to the Mac takes a few seconds as it wakes up from hibernation, even though I disabled (I think) sleeping when connecting to power.