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; }