/*---------------------------------------------------------------------------*/
/* Program to get/set some ACPI settings                                     */
/* Author : David Leemans   -   http://freeunix.dyndns.org:8000/             */
/* Last update : 19-01-2006                                                  */
/*---------------------------------------------------------------------------*/
/*                                                                           */
/* acpitool.h                                                                */
/*                                                                           */		
/* Copyright (C) 2004  David Leemans <davidleemans AT tiscali DOT be>	     */
/*                                                                           */
/* This program is free software; you can redistribute it and/or modify      */
/* it under the terms of the GNU General Public License as published by      */
/* the Free Software Foundation; either version 2 of the License, or         */
/* (at your option) any later version.                                       */
/*                                                                           */
/* This program is distributed in the hope that it will be useful,           */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of            */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             */
/* GNU General Public License for more details.                              */
/*                                                                           */
/* You should have received a copy of the GNU General Public License         */
/* along with this program; if not, write to the Free Software               */
/* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
/*---------------------------------------------------------------------------*/

#ifndef ACPITOOL_H
#define APCITOOL_H

struct Battery_Info {
    int  Battery_Present;
    char Charging_State[12];
    char Remaining_Cap[10];
    char Design_Cap[10];
    char LastFull_Cap[10];
    char Present_Rate[10];
    char Technology[13];
    char Model[13];
    char Serial[13];
    char Bat_Type[13];
};


int Get_Battery_Info(const int bat_nr, Battery_Info *bat_info);
int Count_Batteries();
int Do_Battery_Stuff();

#endif
