Inaccurate compass, frequent calibrations required

Noticed this happening within the last couple weeks. The direction on maps is erratic and requires calibration, sometimes every 15 minutes. 

Is this just my device, or is this a known issue?

Edit: forgot to mention that this happens most when I'm standing still or moving slowly. Running or cycling at speed, the direction aligns. But stopping to check the maps, the direction becomes laggy and incorrect.