Hi Adrian,
Welcome to Microsoft Community.
I'm Hahn and I'm here to help you with your concern.
The current functionality of the Surface Dock 2 does not include any built-in options for automatic charging management like the one you're describing.
However, the Surface Pro 11 does support smart charging, which helps protect the battery by preventing overcharging when the device is plugged in for extended periods. This feature is automatically enabled and helps maintain battery health. When smart charging is turned on, your battery discharges and limits its maximum charge to 80%.Smart charging on Surface - Microsoft Support
Microsoft attaches great importance to user experience, you can submit your ideas and suggestions through the Feedback Hub, and the development team will regularly review submissions for ideas or fixes.
Send feedback to Microsoft with the Feedback Hub app - Microsoft Support
Please share the feedback link here after submitting as it will allow others on the forum to vote for your submission, including me. More votes will lead to more visibility and higher priority to the development team.
I hope this helps. If there is anything not clear, please do not hesitate to let me know.
Your Sincerely
Hahn. W - MSFT | Microsoft Community Support Specialist