FWIW, I can't speak to other operating systems, but with Linux (maybe requiring cooperative hardware? I'm actually not sure) you can configure it to stop charging at a certain % if the charge controller doesn't have reserve.
I can find a link if you're interested; IIRC it was easy to setup and easy to temporarily disable if you need to fully charge for e.g. a long flight without outlets