aboutsummaryrefslogtreecommitdiff
path: root/src/notifier.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/notifier.c')
-rw-r--r--src/notifier.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/notifier.c b/src/notifier.c
index 6557246..52d8854 100644
--- a/src/notifier.c
+++ b/src/notifier.c
@@ -234,6 +234,7 @@ on_battery_property_changed (IndicatorPowerNotifier * self)
}
dbus_battery_set_power_level (p->dbus_battery, power_level_to_dbus_string (new_power_level));
+ p->power_level = new_power_level;
p->discharging = new_discharging;
}