Is there any way to suspend with quirks like in the days of pm-utils? I'm trying to debug a mysterious graphics-card issue and I would like to experiment with some of them to see if they effect any change in my situation, but I can't seem to find any documentation about this for (e)logind online. (This issue was also present under systemd, by the way)
elogind uses loginctl for shutdown and reboot etc.
You may want to read up on ACPI (example: https://wiki.gentoo.org/wiki/ACPI#OpenRC)
What DE are you using?
Sorry about the extended wait, I was having account difficulties
I found out that sleep quirks were just done by a shell script in pm-utils, which can be found here (https://cgit.freedesktop.org/pm-utils/tree/pm/sleep.d/99video). I just had to copy-paste the scripts for the ones I wanted into the shell before suspending, but it could probably be done with a fancy script, if I felt like it