summaryrefslogtreecommitdiff
path: root/src/up-daemon.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2013-10-14 16:05:11 +0200
committerBastien Nocera <hadess@hadess.net>2013-10-14 16:05:11 +0200
commit0ac5c13369be5937b618100484236459c1d8de42 (patch)
tree94344292fbd072d33f213c4a5b91b18cc1b5ae6d /src/up-daemon.c
parentb446cac8f697fb1417f8d07190f95fa40b690260 (diff)
downloadupower-0ac5c13369be5937b618100484236459c1d8de42.tar.gz
daemon: Sort the UpDaemon struct member
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;