via https://docs.microsoft.com/en-us/surface/battery-limitEnabling Battery Limit in Surface UEFI (Surface Pro 4 and later)
The Surface UEFI Battery Limit setting can be configured by booting into Surface UEFI (Power + Vol Up when turning on the device). Choose boot configuration, and then, under Advanced Options, toggle Enable Battery Limit Mode to On.