Bug 396433 - add "when you open the laptop lid" in button events handling in energy saving module
Summary: add "when you open the laptop lid" in button events handling in energy saving...
Status: REPORTED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_powerdevil (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-12 10:04 UTC by pier andre
Modified: 2023-11-13 02:48 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pier andre 2018-07-12 10:04:07 UTC
It would be very comfortable to have one more option in energy saving module, beside the existent "when laptop lid is closed" have a "when you open the laptop lid" option with at least two choices "do nothing" and "resume laptop".
I suppose easy to do as I did in my laptop following this: https://wiki.archlinux.org/index.php/laptop#Modify_wake_events

and it could be useful in at least this two cases:
-I leave sometimes the laptop closed, my son open it and leave opened, so the laptop resume and it remains on for hours running out the battery,
-I usually put some paper sheet used to remember to do something between the lid and the keyboard, when I want to read this paper sheet, I have to open the lid, the laptop resume and I have to login and to suspend again.
And also it would complete the cases considered in energy saving module.
Comment 1 Kai Uwe Broulik 2018-07-12 10:06:03 UTC
I don't see how we can influence this, it's the firmware of the laptop waking it back up, isn't it?
Comment 2 Kai Uwe Broulik 2018-07-12 10:16:26 UTC
I guess one could somehow mess around with /proc/acpi/wakeup
Comment 3 pier andre 2018-07-12 13:00:49 UTC
I don't know about the firmware of closing and opening the laptop lid, but, following the instruction in the site:
creating this file:
/etc/tmpfiles.d/disable-lid-wakeup.conf
with into this:
w /proc/acpi/wakeup - - - - LID

has been so simple that I though it was simple as well to introduce an "open lid" option beside the "close lid" one.
Ciao an manythanks :-)