There's an application named something like Dell Command Center (maybe Dell Power Manager on windows?) that comes preinstalled with the default xps win10. Or you can get it yourself from the dell website. It exposes all of the bios settings.
There's also a DCC package for Linux which can do the same thing. I made a thin Python wrapper which would read a number and set that to the maximum battery charge limit (e.g. $ battery.py 85). Unfortunately I got rid of the xps so I don't have the script, but it was very simple. Hard part was figuring out what the cmdline arguments to the DCC executable were.
There's also a DCC package for Linux which can do the same thing. I made a thin Python wrapper which would read a number and set that to the maximum battery charge limit (e.g. $ battery.py 85). Unfortunately I got rid of the xps so I don't have the script, but it was very simple. Hard part was figuring out what the cmdline arguments to the DCC executable were.