#include "config.h"
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <linux/major.h>
#include <linux/hdreg.h>
#include "powerlib.h"
#include "powerlib_local.h"
#include "string.h"
Defines | |
#define | ACPI_LID_DIR "/proc/acpi/button/lid" |
Functions | |
int | getLidState (void) |
returns the current state of the lid |
|
|