Phone screen not turn off while charging because of very common reasons, one of them is stay awake option Click here for more …

source