suspend: add suspend/resume support with powerd on ChromeOS
ModemManager handles suspend and resume signals sent from powerd Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/547
This commit is contained in:
committed by
Aleksander Morgado
parent
ac06052b97
commit
3da84c2079
+11
-1
@@ -399,7 +399,17 @@ nodist_ModemManager_SOURCES = $(DAEMON_ENUMS_GENERATED)
|
||||
|
||||
# Additional suspend/resume support via systemd
|
||||
if WITH_SYSTEMD_SUSPEND_RESUME
|
||||
ModemManager_SOURCES += mm-sleep-monitor.h mm-sleep-monitor.c
|
||||
ModemManager_SOURCES += \
|
||||
mm-sleep-monitor.h \
|
||||
mm-sleep-monitor-systemd.c \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
if WITH_POWERD_SUSPEND_RESUME
|
||||
ModemManager_SOURCES += \
|
||||
mm-sleep-monitor.h \
|
||||
mm-sleep-monitor-powerd.c \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
# Additional QMI support in ModemManager
|
||||
|
||||
Reference in New Issue
Block a user