40% do lack electricity but that does not mean all live without power. The problem in India is that ability to produce enough electricity for all. Hence, people who can afford use generators etc. which nowadays are not that expensive for middle class.