Class for hardware power management. More...
#include <libthinkpad.h>
| Static Public Member Functions | |
| static bool | requestSuspend (SuspendReason reason) | 
Class for hardware power management.
The power state manager is used to request power state changes to the system. You can request the system to suspend only currently.
| 
 | static | 
Request a suspend of the system. You need to specify a suspend reason, whether it is the lid or the user pressing the button. This should be called in an ACPI event handler.
| reason | the reason for the suspend, lid or button | 
 1.8.11
 1.8.11