Notts County have snapped up former Charlton Athletic striker Danny Haynes after seeing him drop into the free agent pool.