optimizing charge times