Consumer adaptation to energy shortages