Turning out the lights and heading to bed using the flashlight on your phone is the 21st century equivalent of walking through a dark house with a candle and chamberstick like some Dickensian character.