wmtime: Fixed Debian bug #661843. Applied a patch by Milan Cermak.
[dockapps.git] / wmbatteries / src / #files.h#
blob5b8d4b4a6fc3866d8eae577a86c3510d0bafd55e
1 /*
2  *    wmbatteries - A dockapp to monitor ACPI status of two batteries
3  *    Copyright (C) 2003  Florian Krohs <krohs@uni.de>
5  *    Based on work by Thomas Nemeth <tnemeth@free.fr>
6  *    Copyright (C) 2002  Thomas Nemeth <tnemeth@free.fr>
7  *    and on work by Seiichi SATO <ssato@sh.rim.or.jp>
8  *    Copyright (C) 2001,2002  Seiichi SATO <ssato@sh.rim.or.jp>
9  *    and on work by Mark Staggs <me@markstaggs.net>
10  *    Copyright (C) 2002  Mark Staggs <me@markstaggs.net>
12  *    This program is free software; you can redistribute it and/or modify
13  *    it under the terms of the GNU General Public License as published by
14  *    the Free Software Foundation; either version 2 of the License, or
15  *    (at your option) any later version.
17  *    This program is distributed in the hope that it will be useful,
18  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
19  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  *    GNU General Public License for more details.
22  *    You should have received a copy of the GNU General Public License
23  *    along with this program; if not, write to the Free Software
24  *    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25  *
26  */
28 #define THERMAL_FILE "/proc/acpi/thermal_zone/THM0/temperature"
29 #define BAT0_STATE_FILE "/proc/acpi/battery/BAT0/state"
30 #define BAT1_STATE_FILE "/proc/acpi/battery/BAT1/state"
31 #define BAT0_INFO_FILE "/proc/acpi/battery/BAT0/info"
32 #define BAT1_INFO_FILE "/proc/acpi/battery/BAT1/info"
33 #define AC_STATE_FILE "/proc/acpi/ac_adapter/AC/state"