As well as keeping the torch on Astrid, you need to take it off and look for the vampire every so often and press spacebar when she gets close to hide. If this is happening as soon as you start the mini game, press space bar straight away, that should give you about 10 seconds to focus on Astrid for a while and fill up the bar.