]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Kernel/RootDomainUserClient.cpp
xnu-2050.18.24.tar.gz
[apple/xnu.git] / iokit / Kernel / RootDomainUserClient.cpp
index 92097acdef15cfb9790aa6f2b90c456084bbd165..75a26e7cc544f7af607e8142bc74bc5118e1f0e7 100644 (file)
@@ -36,6 +36,7 @@
 #include <IOKit/IOBufferMemoryDescriptor.h>
 #include "RootDomainUserClient.h"
 #include <IOKit/pwr_mgt/IOPMLibDefs.h>
+#include <IOKit/pwr_mgt/IOPMPrivate.h>
 
 #define super IOUserClient
 
@@ -311,6 +312,7 @@ IOReturn RootDomainUserClient::externalMethod(
             
         case kPMActivityTickle:
             fOwner->reportUserInput( );
+            fOwner->setProperty(kIOPMRootDomainWakeTypeKey, "UserActivity Assertion");
             ret = kIOReturnSuccess;
             break;