charge_cycle factory create using new. id parameter added to charge_cycle_new