Looks like OK code for disabling Screen Saver. I don't think he asked how to do that - he asked how to detect if mic is in use. I get impression for OP's post he already knows how to disable SS. But...then maybe not