aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/service.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index f36c63f..db1fad5 100644
--- a/src/service.c
+++ b/src/service.c
@@ -401,6 +401,11 @@ count_batteries (GList * devices, int *total, int *inuse)
static gboolean
should_be_visible (IndicatorPowerService * self)
{
+ if (!is_lomiri())
+ {
+ return TRUE;
+ }
+
gboolean visible = TRUE;
priv_t * p = self->priv;