Here in the states most folks I know put the flag up to alert the carrier that there's mail to pick up.
Interestingly, I watched a British film, early 1940's, where the carrier placed a letter in the box and raised the flag, that to alert the resident that he had mail.
The more I thought about that the more the British way makes sense (is that how it's done today in Great Britain?).
Len