That's not how it works.iPhones shutting off at night is a feature, not a bug. Most people are sleeping at night. The iPhone shutting off at night helps save energy. That's better for the environment. Just another way Apple's helping with the environment and reducing our carbon footprint.