So this is a total long shot, and it goes well beyond my limited wheelhouse of making un[der]documented things work nicely. It also means inviting those cosy with under-bonnet stuff to chime in.
The magnificent open-source utility, Charge Limiter (which does what other, more proprietary battery...