Current implementation does not allow any of the acpype utilities to leave out the charge option (-n ) thus it is not possible to have acpype determine the charge.
In this implementation charge key in properties dictionary can be provided None as an argument which will then start acpype without charge argument which in turn then makes acpype determine the charge of the system (often with decent results). The documentation has been updated accordingly.
Default charge of 0 was left as is, although it might make sense at some point to change it to None, as such option could be slightly more intuitive.
Current implementation does not allow any of the acpype utilities to leave out the charge option (-n ) thus it is not possible to have acpype determine the charge.
In this implementation charge key in properties dictionary can be provided None as an argument which will then start acpype without charge argument which in turn then makes acpype determine the charge of the system (often with decent results). The documentation has been updated accordingly.
Default charge of 0 was left as is, although it might make sense at some point to change it to None, as such option could be slightly more intuitive.