A commercial lithium-ion battery with LiNi0.8Co0.15Al0.05O2 (NCA) cathode has been studied in situ using high-intensity and high-resolution neutron diffraction. Structure and phase composition of the battery electrodes have been probed during charge-discharge in different cycling modes. The dependence of the anode composition on the charge rate has been determined quantitatively. Different kinetics of Li (de)intercalation in the graphite anode during charge/discharge process have been observed. Phase separation of the cathode material has not been detected in whole voltage range. Non-linear dependencies of the unit cell parameters, atomic and layer spacing on the lithium content in the cathode have been observed. Measured dependencies of interatomic spacing and interlayer spacing, and unit cell parameters of the cathode structure on the lithium content could be qualitatively explained by several factors, such as variations of oxidation state of cation in oxygen octahedra, Coulomb repulsion of oxygen layers, changes of average effective charge of oxygen layers and van der Waals interactions between MeO2-layers at high level of the NCA delithiation.