For me personally, I will only wear SPF30 or higher regardless of being indoors, by windows, etc. I think if you are indoors applying your SPF once a day is enough. You need to re-apply it if you go outdoors, sweat, swim, etc.
Stick to a good SPF 30 and you really can't go wrong.