]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/IOKit/pwr_mgt/IOPM.h
xnu-344.tar.gz
[apple/xnu.git] / iokit / IOKit / pwr_mgt / IOPM.h
index 9cfe3ea531ca0cdb42b7991083b40cad4912715b..9f113545a910defb39de303f8e24d0ab441a5580 100644 (file)
@@ -268,10 +268,17 @@ enum {
     kPMMinutesToSpinDown,
     kPMMinutesToSleep,
     kPMEthernetWakeOnLANSettings,
-    kPMSetProcessorSpeed
+    kPMSetProcessorSpeed,
+    kPMPowerSource
 };
 #define kMaxType kPMEthernetWakeOnLANSettings
 
+// SetAggressiveness values for the kPMPowerSource aggressiveness type
+enum {
+    kIOPMInternalPower = 1,
+    kIOPMExternalPower
+};
+
 #define kAppleClamshellStateKey           "AppleClamshellState"
 #define kIOREMSleepEnabledKey             "REMSleepEnabled"