Bug 501057

Summary: New EU regulations coming into force in May requires warnings when disabling power management features
Product: [Applications] systemsettings Reporter: Neal Gompa <ngompa13>
Component: kcm_powerdevilAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: grave CC: dchmelik, kde, mpearson-lenovo, natalie_clarius, nate, sam
Priority: NOR    
Version: master   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
URL: https://eur-lex.europa.eu/eli/reg/2023/826/oj/eng
Latest Commit: Version Fixed In: 6.3.3
Sentry Crash Report:

Description Neal Gompa 2025-03-04 15:07:31 UTC
SUMMARY
Starting in May of this year, a new EU directive is coming into force about power management that requires computers that offer the ability to disable power management functions to warn users of the consequence of increased energy consumption when doing so.

The exact wording in question is under Section 2, Functional requirements:
> (5) The equipment may offer the user the option to deactivate the 
> power management function. In such cases the users shall be warned
> about the increased energy consumption of that action.
> That warning shall be included in the instruction manuals and,
> where applicable, be made available on the displays integrated in or 
> connected to the equipment, excluding information or status displays.
> That option shall not be part of the installation procedure of the 
> equipment and shall require a separate user action on the equipment.

We do not yet have this in our UI and we need this to be implemented fairly soon because not having it will prevent KDE Plasma from shipping on devices in Europe once this goes into effect.

So we need some kind of in-place warning to users that turning off default power management features will result in increased energy consumption.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 42 (KDE Plasma)
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
I was informed of this as part of discussions around Fedora KDE preloads by a major OEM, and there is a similar issue with GNOME on this too: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/3353
Comment 1 Bug Janitor Service 2025-03-04 16:34:55 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/powerdevil/-/merge_requests/530
Comment 2 Bug Janitor Service 2025-03-04 19:59:32 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/powerdevil/-/merge_requests/531
Comment 3 Kai Uwe Broulik 2025-03-05 06:37:24 UTC
Git commit c846db167e6d737da7476e148457ad0499abdb53 by Kai Uwe Broulik.
Committed on 05/03/2025 at 06:34.
Pushed by broulik into branch 'master'.

applets/batterymonitor: Warn about higher energy consumption when blocking sleep

EU Regulation 2023/826 requires connected devices to auto-suspend
after at most 20 minutes. The user may disable this but a warning
has to be presented when they do.

M  +2    -1    applets/batterymonitor/package/contents/ui/InhibitionItem.qml

https://invent.kde.org/plasma/powerdevil/-/commit/c846db167e6d737da7476e148457ad0499abdb53
Comment 4 Kai Uwe Broulik 2025-03-05 22:22:54 UTC
Git commit 266049c40a637ae2a814ce6c602fcecdc65fa85b by Kai Uwe Broulik.
Committed on 05/03/2025 at 22:18.
Pushed by broulik into branch 'master'.

kcm: Show warning when disabling autosuspend or setting it too long

EU Regulation 2023/826 requires connected devices to auto-suspend
after at most 20 minutes. The user may disable this but a warning
has to be presented when they do.

The warning is only shown when changing the setting, not when it
has already been changed before.

M  +27   -1    kcm/ui/ProfileConfig.qml

https://invent.kde.org/plasma/powerdevil/-/commit/266049c40a637ae2a814ce6c602fcecdc65fa85b
Comment 5 Bug Janitor Service 2025-03-06 06:26:22 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/powerdevil/-/merge_requests/534
Comment 6 Kai Uwe Broulik 2025-03-06 11:55:53 UTC
Git commit f9ee024a2ea5cf9ac25ecc3ae05f077c845f82b9 by Kai Uwe Broulik.
Committed on 06/03/2025 at 06:25.
Pushed by broulik into branch 'Plasma/6.3'.

kcm: Show warning when disabling autosuspend or setting it too long

EU Regulation 2023/826 requires connected devices to auto-suspend
after at most 20 minutes. The user may disable this but a warning
has to be presented when they do.

The warning is only shown when changing the setting, not when it
has already been changed before.


(cherry picked from commit 266049c40a637ae2a814ce6c602fcecdc65fa85b)

Co-authored-by: Kai Uwe Broulik <kde@privat.broulik.de>

M  +27   -1    kcm/ui/ProfileConfig.qml

https://invent.kde.org/plasma/powerdevil/-/commit/f9ee024a2ea5cf9ac25ecc3ae05f077c845f82b9
Comment 7 Kai Uwe Broulik 2025-03-06 12:00:24 UTC
Git commit 3f76b1641fd49ab79dedcde4c29973139b6bebb8 by Kai Uwe Broulik.
Committed on 06/03/2025 at 11:56.
Pushed by broulik into branch 'Plasma/6.3'.

applets/batterymonitor: Warn about higher energy consumption when blocking sleep

EU Regulation 2023/826 requires connected devices to auto-suspend
after at most 20 minutes. The user may disable this but a warning
has to be presented when they do.


(cherry picked from commit c846db167e6d737da7476e148457ad0499abdb53)

Co-authored-by: Kai Uwe Broulik <kde@privat.broulik.de>

M  +2    -1    applets/batterymonitor/package/contents/ui/InhibitionItem.qml

https://invent.kde.org/plasma/powerdevil/-/commit/3f76b1641fd49ab79dedcde4c29973139b6bebb8
Comment 8 David Chmelik 2025-03-12 06:19:58 UTC
It's not required for desktops.