Fix no handling of battery removal git-svn-id: http://tint2.googlecode.com/svn/trunk@747 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
o9000 o9000
1 files changed,
1 insertions(+),
2 deletions(-)
jump to
M
src/battery/battery.c
→
src/battery/battery.c
@@ -80,8 +80,7 @@ if (update_battery() != 0) {
// Reconfigure init_battery(); // Try again - if (update_battery() != 0) - return; + update_battery(); } if (old_found == battery_found && old_percentage == battery_state.percentage &&