Lines Matching refs:IOPMPowerSource
29 #include <IOKit/pwr_mgt/IOPMPowerSource.h>
36 OSDefineMetaClassAndStructors(IOPMPowerSource, IOService)
41 // Static initializer for IOPMPowerSource. Returns a new instance of the class
45 IOPMPowerSource *IOPMPowerSource::powerSource(void)
47 IOPMPowerSource *ps = new IOPMPowerSource;
60 bool IOPMPowerSource::init (void)
99 void IOPMPowerSource::free(void)
129 void IOPMPowerSource::updateStatus (void)
165 void IOPMPowerSource::setPSProperty(const OSSymbol *key, OSObject *val)
202 void IOPMPowerSource::setExternalConnected(bool b) {
207 void IOPMPowerSource::setExternalChargeCapable(bool b) {
212 void IOPMPowerSource::setBatteryInstalled(bool b) {
217 void IOPMPowerSource::setIsCharging(bool b) {
222 void IOPMPowerSource::setAtWarnLevel(bool b) {
227 void IOPMPowerSource::setAtCriticalLevel(bool b) {
233 void IOPMPowerSource::setCurrentCapacity(unsigned int val) {
239 void IOPMPowerSource::setMaxCapacity(unsigned int val) {
245 void IOPMPowerSource::setTimeRemaining(int val) {
251 void IOPMPowerSource::setAmperage(int val) {
257 void IOPMPowerSource::setVoltage(unsigned int val) {
263 void IOPMPowerSource::setCycleCount(unsigned int val) {
269 void IOPMPowerSource::setAdapterInfo(int val) {
275 void IOPMPowerSource::setLocation(int val) {
281 void IOPMPowerSource::setErrorCondition(OSSymbol *s) {
285 void IOPMPowerSource::setManufacturer(OSSymbol *s) {
289 void IOPMPowerSource::setModel(OSSymbol *s) {
293 void IOPMPowerSource::setSerial(OSSymbol *s) {
297 void IOPMPowerSource::setLegacyIOBatteryInfo(OSDictionary *d) {
310 OSObject *IOPMPowerSource::getPSProperty(const OSSymbol *symmie) {
315 bool IOPMPowerSource::externalConnected(void) {
319 bool IOPMPowerSource::externalChargeCapable(void) {
323 bool IOPMPowerSource::batteryInstalled(void) {
327 bool IOPMPowerSource::isCharging(void) {
331 bool IOPMPowerSource::atWarnLevel(void) {
335 bool IOPMPowerSource::atCriticalLevel(void) {
339 unsigned int IOPMPowerSource::currentCapacity(void) {
346 unsigned int IOPMPowerSource::maxCapacity(void) {
353 unsigned int IOPMPowerSource::capacityPercentRemaining(void)
364 int IOPMPowerSource::timeRemaining(void) {
371 int IOPMPowerSource::amperage(void) {
378 unsigned int IOPMPowerSource::voltage(void) {
385 unsigned int IOPMPowerSource::cycleCount(void) {
392 int IOPMPowerSource::adapterInfo(void) {
399 int IOPMPowerSource::location(void) {
406 OSSymbol *IOPMPowerSource::errorCondition(void) {
410 OSSymbol *IOPMPowerSource::manufacturer(void) {
414 OSSymbol *IOPMPowerSource::model(void) {
418 OSSymbol *IOPMPowerSource::serial(void) {
422 OSDictionary *IOPMPowerSource::legacyIOBatteryInfo(void) {