The officially official Devuan Forum!

You are not logged in.

#1 Re: Installation » Kde profiles with TLP » 2026-07-27 14:57:26

Guys Chat GTP managed to solve it. It was about autostart order. He created script to restart powerdevil after start.

patryk@devuan:~$ cat ~/.config/autostart/powerdevil-restart.desktop
[Desktop Entry]
Type=Application
Name=PowerDevil restart
Exec=sh -c "sleep 5; /usr/lib/x86_64-linux-gnu/libexec/org_kde_powerdevil"
X-KDE-autostart-after=panel
patryk@devuan:~$ 

Thank you steve_v

#2 Re: Installation » Kde profiles with TLP » 2026-07-27 13:14:13

Process is not alive, because it runs on demand/trigger. But it works. It changes profile when (un)plugging power source.

patryk@devuan:/usr/share/dbus-1/system-services$ sudo service tlp status
--- TLP 1.11.0-alpha.0 --------------------------------------------

+++ System Info
System         = Dell Inc.  Latitude 5400
BIOS           = Dell Inc. 1.4.2
OS release     = Devuan GNU/Linux 6 (excalibur)
Kernel         = 6.12.95+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.95-1 (2026-07-04) x86_64
/proc/cmdline  = root=UUID=a1c43d75-58d7-481e-baf8-5e10fe81c105 ro quiet initrd=boot\initrd.img-6.12.95+deb13-amd64
Init system    = sysvinit
Boot mode      = UEFI
Suspend mode   = [s2idle] deep

+++ TLP Status
tlp            = enabled, last run: 14:26:25, 1438 sec(s) ago
tlp-rdw        = enabled
tlp-pd         = installed, not running
TLP profile    = performance/AC
Power source   = AC

patryk@devuan:/usr/share/dbus-1/system-services$ sudo service tlp status
--- TLP 1.11.0-alpha.0 --------------------------------------------

+++ System Info
System         = Dell Inc.  Latitude 5400
BIOS           = Dell Inc. 1.4.2
OS release     = Devuan GNU/Linux 6 (excalibur)
Kernel         = 6.12.95+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.95-1 (2026-07-04) x86_64
/proc/cmdline  = root=UUID=a1c43d75-58d7-481e-baf8-5e10fe81c105 ro quiet initrd=boot\initrd.img-6.12.95+deb13-amd64
Init system    = sysvinit
Boot mode      = UEFI
Suspend mode   = [s2idle] deep

+++ TLP Status
tlp            = enabled, last run: 14:55:26, 8 sec(s) ago
tlp-rdw        = enabled
tlp-pd         = installed, not running
TLP profile    = balanced/BAT
Power source   = battery
patryk@devuan:/usr/share/dbus-1/system-services$ cat /usr/share/dbus-1/system-services/org.freedesktop.UPower.PowerProfiles.service
[D-BUS Service]
Name=org.freedesktop.UPower.PowerProfiles
Exec=/bin/false
User=root
SystemdService=tlp-pd.service
patryk@devuan:/usr/share/dbus-1/system-services$ sudo tlp-pd --debug
patryk@devuan:/usr/share/dbus-1/system-services$ sudo  tlp-stat --trace
--- TLP 1.11.0-alpha.0 --------------------------------------------

2026-07-27T15:27:23.851627+02:00 devuan tlp-pd: _get_tlp_profile(): Current TLP profile is 'power-saver'
2026-07-27T15:27:23.867819+02:00 devuan tlp-pd: Bus name org.freedesktop.UPower.PowerProfiles is owned by PID 12710.
2026-07-27T15:27:23.868093+02:00 devuan tlp-pd: TLP Profiles Daemon (or another one) is already running, exiting.

#3 Re: Installation » Kde profiles with TLP » 2026-07-13 12:24:00

patryk@devuan:~$ sudo dbus-send --system --print-reply --dest=org.freedesktop.UPower.PowerProfiles /org/freedesktop/UPower/PowerProfiles org.freedesktop.DBus.Properties.GetAll string:"org.freedesktop.UPower.PowerProfiles"
[sudo] password for patryk: 
Error org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1
patryk@devuan:~$ 

#4 Re: Installation » Kde profiles with TLP » 2026-07-11 13:41:38

Thanks for your input.
What do  you think about installing from source?
Script seems to be supporting sysvinit

TLP_SYSV
	/etc/init.d
Install directory for sysvinit script

https://linrunner.de/tlp/developers/makefile.html

Edit: I installed from source. Archive cointains tlp-pd and now it running but KDE is not talking to it. Any ideas?

patryk@devuan:~$ sudo service --status-all | grep tlp
 [ ? ]  alsa-utils
 [ ? ]  hwclock.sh
 [ ? ]  kmod
 [ ? ]  mount-configfs
 [ ? ]  networking
 [ ? ]  speech-dispatcher
 [ + ]  tlp
 [ + ]  tlp-pd

FluxBB bbcode test

#5 Re: Installation » Kde profiles with TLP » 2026-07-11 12:16:55

I installed it from backports, but don’t know how to make it work with KDE

#6 Installation » Kde profiles with TLP » 2026-07-11 11:34:39

patgaw
Replies: 9

Is that possible to make it work at Devuan with TLP? I heard TLP is better then power profiles daemon.

FluxBB bbcode test

Board footer

Forum Software