Skip to content

Uninstall script for wifi-powersave missing #69

@rugk

Description

@rugk

You can only install the systemd service, but not uninstall it.

Reason for uninstalling

I thought let's try to install/enable wifi powersafe mode, but then I saw the tuned/PPD scrpts and looked into what the batery powersafe does:

cat /etc/tuned/profiles/laptop-battery-powersave/tuned.conf 
#
# tuned configuration
#

[main]
summary=Optimize laptop profile with more aggressive power saving
include=powersave

So this also just includes the powersave profile, so there are not even better adjustments? And powersave then contains a script:

$ cat /etc/tuned/profiles/powersave/script.sh 
#!/bin/bash

. /usr/lib/tuned/functions

start() {
    [ "$USB_AUTOSUSPEND" = 1 ] && enable_usb_autosuspend
    enable_wifi_powersave
    return 0
}

stop() {
    [ "$USB_AUTOSUSPEND" = 1 ] && disable_usb_autosuspend
    disable_wifi_powersave
    return 0
}

process $@

So, then, this seems to defeat the whole purpose as it enables and disables wifi powersafe based on the profile anyway? So I guess this is not needed.

System

Bluefin based on Fedora 41

$ rpm-ostree status 
State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: no runs since boot
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:gts
                   Digest: sha256:5c1d6db643b3b00b6ea39c13a5e586cbcc2f45a5cbd787c849f4dd69732ec3a5
                  Version: gts-41.20250907.1 (2025-09-07T21:46:24Z)
          LayeredPackages: bsdtar keepassxc nextcloud-client-nautilus

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions