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)
194 void IOPMPowerSource::setExternalConnected(bool b) {
199 void IOPMPowerSource::setExternalChargeCapable(bool b) {
204 void IOPMPowerSource::setBatteryInstalled(bool b) {
209 void IOPMPowerSource::setIsCharging(bool b) {
214 void IOPMPowerSource::setAtWarnLevel(bool b) {
219 void IOPMPowerSource::setAtCriticalLevel(bool b) {
225 void IOPMPowerSource::setCurrentCapacity(unsigned int val) {
231 void IOPMPowerSource::setMaxCapacity(unsigned int val) {
237 void IOPMPowerSource::setTimeRemaining(int val) {
243 void IOPMPowerSource::setAmperage(int val) {
249 void IOPMPowerSource::setVoltage(unsigned int val) {
255 void IOPMPowerSource::setCycleCount(unsigned int val) {
261 void IOPMPowerSource::setAdapterInfo(int val) {
267 void IOPMPowerSource::setLocation(int val) {
273 void IOPMPowerSource::setErrorCondition(OSSymbol *s) {
277 void IOPMPowerSource::setManufacturer(OSSymbol *s) {
281 void IOPMPowerSource::setModel(OSSymbol *s) {
285 void IOPMPowerSource::setSerial(OSSymbol *s) {
289 void IOPMPowerSource::setLegacyIOBatteryInfo(OSDictionary *d) {
302 OSObject *IOPMPowerSource::getPSProperty(const OSSymbol *symmie) {
307 bool IOPMPowerSource::externalConnected(void) {
311 bool IOPMPowerSource::externalChargeCapable(void) {
315 bool IOPMPowerSource::batteryInstalled(void) {
319 bool IOPMPowerSource::isCharging(void) {
323 bool IOPMPowerSource::atWarnLevel(void) {
327 bool IOPMPowerSource::atCriticalLevel(void) {
331 unsigned int IOPMPowerSource::currentCapacity(void) {
338 unsigned int IOPMPowerSource::maxCapacity(void) {
345 unsigned int IOPMPowerSource::capacityPercentRemaining(void)
356 int IOPMPowerSource::timeRemaining(void) {
363 int IOPMPowerSource::amperage(void) {
370 unsigned int IOPMPowerSource::voltage(void) {
377 unsigned int IOPMPowerSource::cycleCount(void) {
384 int IOPMPowerSource::adapterInfo(void) {
391 int IOPMPowerSource::location(void) {
398 OSSymbol *IOPMPowerSource::errorCondition(void) {
402 OSSymbol *IOPMPowerSource::manufacturer(void) {
406 OSSymbol *IOPMPowerSource::model(void) {
410 OSSymbol *IOPMPowerSource::serial(void) {
414 OSDictionary *IOPMPowerSource::legacyIOBatteryInfo(void) {