In several extensions of the Standard Model, the top quark can decay into a bottom quark and a light charged Higgs boson , in addition to the Standard Model decay . Since W bosons decay to the three lepton generations equally, while may predominantly decay into , charged Higgs bosons can be searched for using the violation of lepton universality in top quark decays. The analysis in this paper is based on 4.6/fb of proton-proton collision data at = 7 TeV collected by the ATLAS experiment at the Large Hadron Collider. Signatures containing leptons (e or ) and/or a hadronically decaying are used. Event yield ratios between and , as well as between and , final states are measured in the data and compared to predictions from simulations. This ratio-based method reduces the impact of systematic uncertainties in the analysis. No significant deviation from the Standard Model predictions is observed. With the assumption that the branching fraction is 100%, upper limits in the range 3.2%-4.4% can be placed on the branching fraction for charged Higgs boson masses in the range 90-140 GeV. After combination with results from a search for charged Higgs bosons in ttbar decays using the +jets final state, upper limits on can be set in the range 0.8%-3.4%, for in the range 90-160 GeV.