Ismet Booley, a dentist in Cape Town, had a serious problem a few years ago. Patients showed up for appointments, only to find the power had gone out.