On Fri, 20.06.14 15:50, Jan Alexander Steffens (jan.steff...@gmail.com) wrote:
> Am 20.06.2014 15:24 schrieb "Lennart Poettering" <lenn...@poettering.net>: > > how do we figure out > > after resume whether we resumed because of this timer (and hence we > > should go to hibernation, immediately) or because of some user activity? > > I think there's a way to get at Linux or ACPI's information about which > device > > triggered the wakeup (LID, RTC, whatever), but I don't remember what it was. Well, that's not really sufficient. There can be multiple CLOCK_BOOTTIME_ALARM in place, and even if ACPI tells us that a timer caused the wakeup this wouldn't tell us which timer it was, ours, or some other timer... Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel