summaryrefslogtreecommitdiff
path: root/battstat
diff options
context:
space:
mode:
authorDaniel Drake <dsd@src.gnome.org>2007-06-29 01:19:18 +0000
committerDaniel Drake <dsd@src.gnome.org>2007-06-29 01:19:18 +0000
commit54a1a30d17209b420cdc666885c7ddf153071694 (patch)
tree47af19b92ca59c8c351e15d0a2937cc281258c6d /battstat
parentd3fd2b685a8a1f82acac42d1ae1cbbbffe90e445 (diff)
accidently left some printfs in. apologies.
svn path=/trunk/; revision=10280
Diffstat (limited to 'battstat')
-rw-r--r--battstat/acpi-linux.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/battstat/acpi-linux.c b/battstat/acpi-linux.c
index bc49e446f..615a52179 100644
--- a/battstat/acpi-linux.c
+++ b/battstat/acpi-linux.c
@@ -241,7 +241,6 @@ gboolean acpi_linux_init(struct acpi_info * acpiinfo)
int fd;
g_assert(acpiinfo);
- printf("ACPI LINUX INIT\n");
if (g_file_get_contents ("/sys/module/acpi/parameters/acpica_version", &pbuf, NULL, NULL)) {
acpi_ver = strtoul (pbuf, NULL, 10);
@@ -252,8 +251,6 @@ gboolean acpi_linux_init(struct acpi_info * acpiinfo)
} else
return FALSE;
- printf("GOT VER\n");
-
if (acpi_ver < (gulong)20020208) {
acpiinfo->ac_state_state = "status";
acpiinfo->batt_state_state = "status";
@@ -267,8 +264,6 @@ gboolean acpi_linux_init(struct acpi_info * acpiinfo)
if (!update_battery_info(acpiinfo) || !update_ac_info(acpiinfo))
return FALSE;
- printf("OPEN EVENT\n");
-
fd = open("/proc/acpi/event", 0);
if (fd >= 0) {
acpiinfo->event_fd = fd;