This issue normally happens when you have a bought a new laptop of any brand. So it is not a brand specific issue and can happen to any brand of laptop. When you connect the laptop charger, the lcd display of the laptop will turn off and back on for a second or two. When you disconnect the laptop charger, the lcd will turn off and back on for a second or two.
There have been instances where some folks have thought that it is a problem with the lcd display and have actually contacted the manufaturer of the laptop to return it.
However, it is not an issue with the laptops lcd. It just needs a simple fix in changing the refresh rate of the respective laptops lcd.
How to fix it?
Go to the desktop screen of the laptop which has the issue of display turning on and off.
Right click on the desktop
Select Graphic properties
Depending on which graphics card your laptop has, it will go to the respective settings for the laptops display.
In the settings you will find a refresh rate option which in all likeliness would be set at 60hz.
To fix the issue change the refresh rate to either 50 hz or 40 hz depending on which option is available. Some laptop display settings will have options of 60 and 50 and some may have options of 60 and 40 hz. Just change it from 60 to 50 or 40 hz.
Then save the settings of the display properties.
Once done, you can try connecting and disconnecting the charger and the issue of laptop display turning on and off when connecting and disconnecting laptop charger will be fixed.