Is that an application-dependent switch?

Well, the intention is that the relevant application call the function, but I guess it doesn't matter: As long as one application has said that it needs the PC turned on, then it'll stay turned on. As long as no applications have said that they need the PC turned on, then it'll turn off (subject to the settings in Control Panel, of course).
_________________________
-- roger