The 94-year-old African hero was transferred to a hospital in Pretoria city in the northern province of Gauteng on June 8 as his lung infection deteriorated.
His grandson Mandla Mandela said on Saturday that the former president “looked good” when he visited him in hospital.
“I thank the nation and the world for the prayers for Madiba, and the doctors and the office of the ANC for keeping the family updated,” Mandla Mandela said, using the former leader’s clan name.
Mandela has a history of lung problems dating back to when he contracted tuberculosis as a political prisoner.
On March 28, he was rushed to a South African hospital for the same problem. He also spent about three weeks in hospital for a similar infection and gallstones in December 2012.
The anti-apartheid hero suffered from respiratory disease during 27 years in prison. He was released in 1990 and then he made peacemaking efforts in the country. He was elected as president in 1994.
The former South African president has received more than 250 awards over four decades, including the 1993 Nobel Peace Prize. In recent years, Mandela’s health problems have worried his supporters.