Magnetic fields come from two places
link Permanent magnets and electrical current flow. You have both in your laptop the speakers in
link your laptop use permanent magnets
link and depending on the model there might be magnets above the screen to hold the laptop shut without a mechanical latch. My MacBook Pro has magnets in the speakers and above the screen powerful enough to hold down a pair of steel tweezers so it's not nothing.