Hissing sound on headphones

When there’s no app playing any sounds, I hear a hissing noise from my headphones. The sound disappears while my laptop is charging, so I guess it’s related to power saving or something like that. It also seems to stop when I open the sound tab on the settings app. I’m really annoyed by it, do you guys have any workaround?