From 4d5fe440c80daefc227f1ea4d67d93a651c44650 Mon Sep 17 00:00:00 2001 From: thilor77 Date: Tue, 20 Apr 2010 17:22:05 +0000 Subject: [PATCH] fixed : battery disabled when needed git-svn-id: http://tint2.googlecode.com/svn/trunk@438 121b4492-b84c-0410-8b4c-0d4edfb3f3cc --- src/battery/battery.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/battery/battery.c b/src/battery/battery.c index 45180f9..3cb660e 100644 --- a/src/battery/battery.c +++ b/src/battery/battery.c @@ -134,6 +134,7 @@ void init_battery() g_dir_close(directory); if (!battery_dir) { fprintf(stderr, "ERROR: battery applet can't found power_supply\n"); + default_battery(); return; }