Artix Linux Forum

Artix Linux => Software development => Topic started by: dreieck on 14 October 2023, 13:05:51

Title: [Package request] upower-nocritical/ allow UPower to not do automagic shutdown.
Post by: dreieck on 14 October 2023, 13:05:51
There is an AUR package aur/upower-nocritical (https://aur.archlinux.org/packages/upower-nocritical) or aur/upower-nocritical-nosystemd-git (https://aur.archlinux.org/packages/upower-nocritical-nosystemd-git) which adds to UPower the possibility to do nothing on critical battery state.

There are different reasons and use cases why this can be needed, see here (https://gitlab.freedesktop.org/upower/upower/-/merge_requests/40).

Actually, I need it, see this thread (https://forum.artixlinux.org/index.php/topic,6034.html).

To allow for a UPower variant that is configurable to not impose on the user some behaviour, I ask for adding the patch (https://aur.archlinux.org/cgit/aur.git/tree/0001-Add-a-critical-action-Ignore.patch?h=upower-nocritical-nosystemd-git) from aur/upower-nocritical-nosystemd-git (https://aur.archlinux.org/packages/upower-nocritical-nosystemd-git) to world/upower (https://gitea.artixlinux.org/packages/upower) (maybe without changing the default config, but just with allowing "Ignore" to be set by the user!), or to add upower-nocritical as a separate package.

Regards!