The following command does not appear to work on windows:
ectool.exe --interface=winring0 chargecontrol 3 1 30 80 255
ERROR: Bad sub-command
Usage: chargecontrol
Get current settings.
Usage: chargecontrol normal|idle|discharge
Set charge mode (and disable battery sustainer).
Usage: chargecontrol normal <lower> <upper>
Enable battery sustainer. <lower> and <upper> are battery SoC
between which EC tries to keep the battery level.
On the chance that chargecontrol3 was what you were intending, that’s also not a valid command.