summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e26ab21)
raw | patch | inline | side by side (parent: e26ab21)
author | octo <octo> | |
Thu, 9 Mar 2006 21:40:17 +0000 (21:40 +0000) | ||
committer | octo <octo> | |
Thu, 9 Mar 2006 21:40:17 +0000 (21:40 +0000) |
src/battery.c | patch | blob | history |
diff --git a/src/battery.c b/src/battery.c
index d467ecc8614148181cd945941f45d616915a6f26..21b19bb7c74620aec584d9bd85c503ac877c762d 100644 (file)
--- a/src/battery.c
+++ b/src/battery.c
};
static int ds_num_charge = 1;
+#if BATTERY_HAVE_READ
static int battery_pmu_num = 0;
static char *battery_pmu_file = "/proc/pmu/battery_%i";
+#endif
static void battery_init (void)
{