When flashlight is on it drains more energy from the battery ,so the battery gets hot so to prevent battery from over heating they need to cool down tha battery by stop charging it or reduce the charging speed .its not a software glitch its to optimi...