[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251202043416.2310677-1-dmitry.osipenko@collabora.com>
Date: Tue, 2 Dec 2025 07:34:15 +0300
From: Dmitry Osipenko <dmitry.osipenko@...labora.com>
To: "Rafael J. Wysocki" <rafael@...nel.org>,
Mario Limonciello <superm1@...nel.org>,
Robert Beckett <bob.beckett@...labora.com>
Cc: linux-acpi@...r.kernel.org,
kernel@...labora.com,
linux-kernel@...r.kernel.org,
Sebastian Reichel <sebastian.reichel@...labora.com>,
Xaver Hugl <xaver.hugl@...il.com>,
Richard Hughes <richard@...hsie.com>,
William Jon McCann <mccann@....edu>,
"Jaap A . Haitsma" <jaap@...tsma.org>,
Benjamin Canou <bookeldor@...il.com>,
Bastien Nocera <hadess@...ess.net>,
systemd-devel@...ts.freedesktop.org,
Lennart Poettering <lennart@...ttering.net>,
Antheas Kapenekakis <lkml@...heas.dev>
Subject: [RFC PATCH v1 0/1] ACPI: s2idle: Add /sys/power/lps0_screen_off
Introduce the `/sys/power/lps0_screen_off` sysfs interface, enabling
userspace control over ACPI LPS0 Display Off/On notifications [1].
These notifications are a part of a Modern Standby [2]. The Display Off
notification signals the firmware when all displays (physical and remote)
are off, allowing it to enter lower power states that makes device pretend
it has been suspended while the system remains operational.
Future work will involve integrating this new sysfs control support into
userspace services like power-profiles-daemon, adding a new `idle_screen_off`
inhibitor type to logind and updating power managers with the new
functionality that may improve power savings for idling devices.
Display notifications will allow to support "resume to a dark mode"
feature where the device wakes briefly, performs actions, and then
re-enters into suspended state.
[1] https://uefi.org/sites/default/files/resources/Intel_ACPI_Low_Power_S0_Idle.pdf
[2] https://learn.microsoft.com/en-us/windows-hardware/design/device-experiences/modern-standby-firmware-notifications
Dmitry Osipenko (1):
ACPI: PM: s2idle: Add lps0_screen_off sysfs interface
Documentation/ABI/testing/sysfs-power | 13 +++
drivers/acpi/x86/s2idle.c | 149 +++++++++++++++++++++++---
2 files changed, 145 insertions(+), 17 deletions(-)
--
2.51.1
Powered by blists - more mailing lists