Copyright (c) 2002 Junichi Uekawa 


This is an ACPI application.
The framework library is in libdacpi
There are example applications, dacpidump, dacpidump2, and dacpidump3,
which are provided for testing the API.
The GTK+ interface is the main product, and it is found as dgacpi.

The API should suffice, but it is not tested on many platforms.

Requires GTK+


The API has many missing features.
If you wish to have them added, send comments to the author on how they 
need to be added.
Currently, those features that are unavailable are considered useless
information.

The recommended functions to use are :
long dacpi_get_battery_using (int battery_id);
long dacpi_get_battery_max (int battery_id);
long dacpi_get_battery_current (int battery_id);
int dacpi_get_ac_adapter (int ac_id);
int dacpi_check_acpi_support();
int dacpi_obtain_library_api_version();

It is recommended to check for ACPI support first, before 
doing any other operation. They will return bogus values,
and error is not quite detected in such cases.


This project was started because acpid project seemed dormant
and incomplete. However, seeing that apmd and other projects are
seeing some light, this project might become the dormant one.


Tested on:
TOSHIBA Libretto L2, linux kernel 2.4.17, on Debian GNU/Linux (woody(testing)).
/proc/acpi/info tells me: ACPI-CA Version:         20011018

$Id: README,v 1.8 2002/03/12 16:16:09 dancer Exp $
