When someone is giving you a "heads up" he is, actually, giving you a warning (in advance) , he is telling you something he thinks you should know about any kind of situation ( an important situation or not) , It's like a notification, some useful information to keep you in an observant mode and alert , like this : O_O
^^