libthinkpad  2.6
https://github.com/libthinkpad
Public Member Functions | List of all members
ThinkPad::PowerManagement::ACPI Class Reference

This handles the system power state and ACPI event dispatches. More...

#include <libthinkpad.h>

Public Member Functions

void addEventHandler (ACPIEventHandler *handler)
 Set a custom event handler for ACPI events. More...
 
void wait ()
 Block the caller of the method for infinite-loop exit-prevention. Used for testing.
 
void start ()
 starts the listening on ACPI events
 

Detailed Description

This handles the system power state and ACPI event dispatches.

The ACPI class is used for power event monitoring and reporting. It combines the functionality from udev and acpid into a single API to be used by applications.

Member Function Documentation

void ThinkPad::PowerManagement::ACPI::addEventHandler ( PowerManagement::ACPIEventHandler handler)

Set a custom event handler for ACPI events.

Parameters
handler

The documentation for this class was generated from the following files: