I had the same problem. Turns out my phone wouldn't actually go to sleep when plugged in. Check under Settings - System - Developer options. There is a setting called Stay Awake. As long as the phone is charging it won't actually sleep. You need to press the power button which doesn't let the...