aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/service.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index 4efe2dc..6c9a9c6 100644
--- a/src/service.c
+++ b/src/service.c
@@ -704,6 +704,7 @@ init_gactions (IndicatorPowerService * self)
/* add the power-level action */
a = g_simple_action_new_stateful ("battery-level", NULL, g_variant_new_uint32(0));
+ g_simple_action_set_enabled (a, FALSE);
g_simple_action_group_insert (p->actions, G_ACTION(a));
p->battery_level_action = a;