Add offmode charging support