Allow 2 different callback interval for foreground & background mode. More frequent & accurate callback for foreground mode.