iPhone 7 not turning on automatically while charging Sometimes when I put my iPhone to charge when its dead; it comes on automatically when it is charging, and sometimes I have to physically turned it on. 

For example, last night I was on my iPhone, at it died. I plugged it in, then like 40 min after I went to check and I had to turn it back on and it was charged. 

This doesn't happen all the time. Most times it comes back on automatically.
When it comes to physical problems you might have to go to an Apple Store. Be sure to book in advance to make your meeting as quick as possible!

In cases like this, it could be due to a hardware issue and you might be eligible for a free replacement if your device is defective.