#import <CoreFoundation/CoreFoundation.h> #import <IOKit/ps/IOPowerSources.h>