Screen light is on as long as the charger is connected
This is an option in the developer section of settings on all android devices I believe. It is called 'Stay Awake' and the description is "Screen will never time out while charging"

If you untick this, the screen should go to sleep as normal again.