Why buy a laptop and then keep it plugged in all the time? What sense does this make? ?
Why unplug it if you are sitting at your desk with the power cable nearby? If you charge and discharge constantly, you will use your battery cycles, and they are only guaranteed up to 1000 cycles. That's less than 3 years if you do that every day.
The battery optimization is designed to prevent over-charging that can impact battery life; plug it in when stationary, and unplug to move it around. The battery is to allow mobilty when you want it. Otherwise keep the machine charged so that you have a (nearly) full charge when you need to move. Think of it as keeping your fridge / pantry stocked with food, or your gun loaded