Add a script argument to automatically test the behaviour of the script in all possible states of charging. This targets quality assurance on the core functionality, while working on new features.