Check what power profile is active when plugged in and unplugged. That is, left-click the battery icon in the lower right corner. It should list 2 or more power profiles. When on AC power you should be using balanced or high performance. Make sure you haven't accidentally switched it to power saver.