]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/IOKit/pwr_mgt/IOPMPowerSource.h
xnu-201.42.3.tar.gz
[apple/xnu.git] / iokit / IOKit / pwr_mgt / IOPMPowerSource.h
index 20a069fc3d4ba537b5e7b3a506ab2fcd205d02f1..db54beff394152832a00b443c486504d13008ae8 100644 (file)
 #include <libkern/c++/OSObject.h>
 #include <IOKit/IOTypes.h>
 #include <IOKit/IOReturn.h>
+#include "IOPM.h"
 
 class ApplePMU;
 
-// Our flags
-
-enum {
-  kBatteryInstalled = (1<<0),
-  kBatteryCharging  = (1<<1),
-  kACInstalled      = (1<<2),
-  kUPSInstalled     = (1<<3),
-  kBatteryAtWarn    = (1<<4),
-  kBatteryDepleted  = (1<<5)
-};
-
 const unsigned long kSecondsPerHour = (60*60);
 const unsigned long kTenMinutesInSeconds = (10 * 60);