Compass XL is a tool to search bearings (azimuth) using the device built-in magnetic sensors and the device GPS. You can also easy switch from true North and magnetic North.
The compass accuracy depends on the performance of your device.
If it works perfectly, this means your sensors are perfect, too.
If it is inaccurate, please check that you arent being affected by a magnetic field and the sensors become weakened by age.