Tomas Volf <~@wolfsden.cz> skribis: > (I wonder if there is better way to detect the sleep. I feel like *any* > number will be wrong for someone. Do we know how for example systemd's > timers handle this?) I believe systemd is the one initiating hibernation, so it has the information first-hand; in our case this is initiated by elogind and shepherd doesn’t know. Probably something to fix. Anyway, this time drift remains a mystery to me. I would go for a hack like this: