Cleaner music when laptop is on battery vs plugged in

My setup is like this : Laptop -> DAC -> Amp -> Speakers.

Recently, I tried playing music on battery (of the laptop) and noticed that the sound is noticeably cleaner and more engaging than when the laptop is plugged in the power outlet.

I don't know if anybody has experienced the same or similar.

If I use the power filter, will I have the same result?
Thank you.
Ag insider logo xs@2xquanghuy147
I would hazard a guess that when you use it from battery you are not getting all the and RFI from the mains supply.
Laptops are notorious as the worst possible devices to use in Computer Audio, for the very reason cited. May I suggest, as a very inexpensive alternative, using a Raspberry Pi computer with a digi+ S/PDIF card, and eliminate the laptop.
Make sure your USB cable from the PC to the DAC has a ferrite core at the PC end, and even better, both ends.
It’s well-known that a laptop is a noisy source. More noise gets added when powered by an AC/DC wall wart - which is a cheap switch-mode power supply. Running on the battery is far better but doesn’t last long. A quieter option is to get a regulated linear power supply (LPS) - something like this one - and plug it into a power conditioner/filter. Find out what DC voltage your laptop uses.

I personally use a mini Linux PC plugged into the wall, with my audio plugged into a Furman. This keeps the PC supply outside the Furman's noise filtering.
Also, in addition to the switch mode noise, there's been evidence of ground loops occuring ONLY when the AC supply is plugged in and a metal cable is used. Modern USB capable dacs should be galvanically isolated, but this may not always be the case. It is worth experimenting with USB isolators or optical connectors.
Just to add a litte. Usually when there is a ground loop in analog, we hear it as a hum. According to some old measurements from Stereophile, you could have a ground loop via USB which does not cause a hum but instead results in excessive jitter.

Unfortunately, Stereophile decided then to stop measuring with laptops plugged into AC outlets. IMHO, they should have kept testing with AC to encourage manufacturers to fix the problem.
Thank you everyone for the input.
@erik_squires : Which Furman equipment do you use for power filtering? I am looking for a power filter/conditioner but don’t know which one is good. Could you suggest?My budget is $300.

Thank you.
Hunt around for the Furman prices. :) You can sometimes get a BIG savings.

At the least, the two key features are SMP and LiFT. The noise filtering and surge protection is top notch.
Thank you Erik for your consultation :) I will look out for some Furman.