summaryrefslogtreecommitdiff
path: root/src/up-daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/up-daemon.c')
-rw-r--r--src/up-daemon.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/up-daemon.c b/src/up-daemon.c
index ce1d5c5..f9425fc 100644
--- a/src/up-daemon.c
+++ b/src/up-daemon.c
@@ -73,16 +73,19 @@ struct UpDaemonPrivate
UpPolkit *polkit;
UpBackend *backend;
UpDeviceList *power_devices;
+ gboolean during_coldplug;
+ guint battery_poll_id;
+ guint battery_poll_count;
+ guint action_timeout_id;
+
+ /* Properties */
gboolean on_battery;
UpDeviceLevel warning_level;
gboolean lid_is_closed;
gboolean lid_is_present;
gboolean is_docked;
- gboolean during_coldplug;
- guint battery_poll_id;
- guint battery_poll_count;
- guint action_timeout_id;
+ /* WarningLevel configuration */
gboolean use_percentage_for_policy;
guint low_percentage;
guint critical_percentage;