-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Power nap mode #501
Comments
Hi, interesting idea. If you find out the udev event for closing or opening the lid, i will think about it. |
Hi @linrunner, thanks for response I've researched a bit, this event managed by
|
ACPI event is unfortunate because the whole /etc/acpi/event stuff is seriously deprecated imho. No udev event? |
@linrunner no, systemd uses acpi for |
That is exactly where the problem lies: systemd (logind) consumes those events but doesn't expose an interface to hook them. |
There is a D-Bus property for lid in logind:
|
I'm return back from macOS to Linux laptop, and I have one feature which I missed. I want to implement mode that called on macOS as Power Nap.
Because power management on my laptop managed by TLP, I think that this app should have this feature. In general, TLP should have one more mode -- is lid opened/closed.
In my case, I want this scenario:
When lid closed and AC is plugged, laptop should be in aggressive powersave mode, with minimal CPU frequency and disabled all of components as possible. In this mode it can do background tasks, like -- backup by network, Mail/IM notifications, updates, etc.
What do you think about this?
The text was updated successfully, but these errors were encountered: