clayton craft 5a06a6bb06
postmarketos-base: replace elogind suspend hook with sleep-inhibitor (MR 1825)
This adds sleep-inhibitor as a dependency when elogind is present, and
installs a conf for it with some plugins enabled that are beneficial to
devices running pmOS. The elogind suspend hook is dropped.

This resolves issues where suspend is aborted in the hook *after*
PrepareForSleep is sent over dbus (which might cause some things to
disable radios/modems, etc for suspend).

The 'period' in the conf is in minutes, a value of 0.1 is 6 seconds,
which seems reasonable for releasing the lock when conditions for
inhibiting no longer apply, without spinning the CPU too frequently.
2020-12-28 00:36:35 +01:00
2020-12-24 10:54:22 +01:00
2019-06-26 22:36:15 +02:00
2018-08-23 21:44:22 +02:00
2018-09-04 07:15:47 +00:00
Description
No description provided
Readme 43 MiB
Languages
Shell 97%
Python 2%
C 0.5%
Batchfile 0.4%