It will run hot when plugged in and charging battery at same time especially in higher performance settings. So fan will do what it is supposed to and run faster and louder to cool off the laptop.
laptop runs a lot quieter when unplugged and just on battery. Especially with extended battery settings set.