A few years ago, officials in India’s capital of New Delhi started noticing an unfamiliar spike in electricity usage on hot weekday afternoons and then again around 11 pm.

The reason: Families like Prerna and Nikhil Gulati. The couple received their first air conditioner as a wedding gift from 29-year-old Prerna’s parents a few years back.

They...