aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/indicator-power.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/indicator-power.c b/src/indicator-power.c
index 28cc023..64392cd 100644
--- a/src/indicator-power.c
+++ b/src/indicator-power.c
@@ -429,11 +429,6 @@ menu_add_device (GtkMenu *menu,
g_debug ("%s: got data from object %s", G_STRFUNC, object_path);
- /* Try to fix the case when we get a empty battery bay as a real battery */
- if (state == UP_DEVICE_STATE_UNKNOWN &&
- percentage == 0)
- return;
-
if (kind == UP_DEVICE_KIND_LINE_POWER)
return;