Obey charging preference, bugfix for autosubmit