diff options
author | Bastien Nocera <hadess@hadess.net> | 2013-10-14 16:05:11 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2013-10-14 16:05:11 +0200 |
commit | 0ac5c13369be5937b618100484236459c1d8de42 (patch) | |
tree | 94344292fbd072d33f213c4a5b91b18cc1b5ae6d | |
parent | b446cac8f697fb1417f8d07190f95fa40b690260 (diff) | |
download | upower-0ac5c13369be5937b618100484236459c1d8de42.tar.gz |
daemon: Sort the UpDaemon struct member
-rw-r--r-- | src/up-daemon.c | 11 |
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; |