To find time constant of circuit we will have to short circuit the battery, then we will find net resistance across capacitor.
Rnet=R2∴τC=CRnet=CR2
∴ Charge in the capacitor at time t would be,
q=qo(1−e−t/τC)=CE2(1−e−2tCR)