From: Thierry Lorthiois Date: Tue, 20 Apr 2010 17:22:05 +0000 (+0000) Subject: fixed : battery disabled when needed X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=341037bd9402f61364d71765150f4afc1c235c9d;p=chaz%2Ftint2 fixed : battery disabled when needed --- 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; }