Magnetic braking in low-mass stars