Dell Inspiron 5547 CUP Fan Noise - System Cooling Policy

I thought my computer starting having CPU fan problem recently. I do remember change some power option settings to use high performance option, but I can't remember exactly what has changed.

My Dell Inspiron 5547 Laptop CPU fan starts going crazy and make huge noise, when I plug-in with the power adapter. What's funny is that the fan is always quiet when I unplug the power. So that got me thinking there is something going on with the "System Cooling Policy" when I plug in the power adapter.