Kde automatic power profile switching doesn't work

Screenshots



In KDE system settings, in the power management section, selecting “switch to power profile” gets ignored by tuned. (unplugging my laptop leaves the power profile on “performance”)

Switching power profiles manually in the KDE panel applet works normally.

System info
$ inxi -F
System:
  Host: hp-laptop Kernel: 6.15.9-201.fc42.x86_64 arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 6.4.4 Distro: Fedora Linux 42 (KDE Plasma Desktop
    Edition)
Machine:
  Type: Laptop System: HP product: HP Laptop 15-dw1xxx v: Type1ProductConfigId
    serial: <superuser required>
  Mobo: HP model: 85F1 v: 37.29 serial: <superuser required> UEFI: Insyde
    v: F.53 date: 10/15/2021
Battery:
  ID-1: BAT1 charge: 32.1 Wh (99.1%) condition: 32.4/40.9 Wh (79.2%)
CPU:
  Info: dual core model: Intel Core i3-10110U bits: 64 type: MT MCP cache:
    L2: 512 KiB
  Speed (MHz): avg: 400 min/max: 400/4100 cores: 1: 400 2: 400 3: 400 4: 400
Graphics:
  Device-1: Intel CometLake-U GT2 [UHD Graphics] driver: i915 v: kernel
  Device-2: Luxvisions Innotech HP TrueVision HD Camera driver: uvcvideo
    type: USB
  Display: wayland server: Xwayland v: 24.1.8 compositor: kwin_wayland
    driver: gpu: i915 resolution: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: iris,swrast
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 25.1.7
    renderer: Mesa Intel UHD Graphics (CML GT2)
  API: Vulkan v: 1.4.313 drivers: intel,llvmpipe surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: gputop, intel_gpu_top, lsgpu
    wl: wayland-info x11: xdriinfo, xdpyinfo, xprop, xrandr
Audio:
  Device-1: Intel Comet Lake PCH-LP cAVS driver: snd_hda_intel
  API: ALSA v: k6.15.9-201.fc42.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.4.7 status: active
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: eno1 state: down mac: e0:70:ea:ef:7e:e2
  Device-2: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
    driver: rtw_8822ce
  IF: wlo1 state: up mac: 82:3e:a2:e4:27:7e
Bluetooth:
  Device-1: Realtek Bluetooth Radio driver: btusb type: USB
  Report: btmgmt ID: hci0 state: up address: B4:B5:B6:AE:1C:66 bt-v: 5.1
RAID:
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
Drives:
  Local Storage: total: 354.84 GiB used: 153.14 GiB (43.2%)
  ID-1: /dev/nvme0n1 vendor: KIOXIA model: N/A size: 238.47 GiB
  ID-2: /dev/sda model: Multiple Card Reader size: 116.37 GiB type: USB
Partition:
  ID-1: / size: 236.89 GiB used: 152.73 GiB (64.5%) fs: btrfs
    dev: /dev/nvme0n1p3
  ID-2: /boot size: 973.4 MiB used: 405.7 MiB (41.7%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 19.3 MiB (3.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 236.89 GiB used: 152.73 GiB (64.5%) fs: btrfs
    dev: /dev/nvme0n1p3
Swap:
  ID-1: swap-1 type: zram size: 7.55 GiB used: 1.21 GiB (16.1%)
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 70.0 C pch: 52.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 8 GiB available: 7.55 GiB used: 4.71 GiB (62.4%)
  Processes: 291 Uptime: 2d 15h 56m Shell: Bash inxi: 3.3.38

Update: The battery indicator in KDE says the laptop is plugged in, but still discharging (even though it’s unplugged)

I just noticed that it actually does work, it just takes a bit of time for it to change to balanced automatically.