somewhat get off-mode charging working