GNOME Bugzilla – Bug 765682
[review] merge "nm-sleep-monitor-upower.c" with "nm-sleep-monitor-systemd.c" [th/sleep-monitor-merge-bgo765682]
Last modified: 2016-04-28 11:51:49 UTC
Both sleep-monitor implementations are fairly trivial and simialar. Merge them and separate the different code with #if-#else. That way, we also create the D-Bus proxy instance asynchronously and unify logging.
Looks mostly OK, but I don't really like "sleep-signal" as a name. Maybe just "sleeping" or "suspending" since the is_about_to_suspend argument tells the difference?
(In reply to Dan Williams from comment #1) > Looks mostly OK, but I don't really like "sleep-signal" as a name. Maybe > just "sleeping" or "suspending" since the is_about_to_suspend argument tells > the difference? Fixed. merged to master: https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=e0cf9319b7e4893becfef886a19dd3e31ec76fde