Skip to main content
Topic: power-profiles-daemon (with grub) (Read 1558 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

power-profiles-daemon (with grub)

Hello!

I've recently installed Artix (moving from EndeavourOS which was giving me issues) and was interested to see that the default bootloader seems to be grub.

I'm running a AMD laptop with a Ryzen 7 8845HS and installed power-profiles-daemon which I am accustomed to using on other Arch distros.

However, the KDE tray aspect of it doesn't actually work, so I can't select/change the profile.

I found this reddit thread about how another Artix user got it to work, but he had runit, and I just have grub, so it seems like that wouldn't work.

I am a noob, obviously, but would love any pointers

https://www.reddit.com/r/artixlinux/comments/stqhwl/guide_powerprofilesdaemon_on_nonsystemd_installs/

Re: power-profiles-daemon (with grub)

Reply #1
I'm kind of confused? Grub is a bootloader, Runit is a init system, the KDE tray aspect not working means the login manager? Send some info of what you are using, like which init system, DE, maybe I can help
batteries included

 

Re: power-profiles-daemon (with grub)

Reply #2
Hello, thanks!

I managed to figure it out; after reading the reddit page and then realizing that grub and runnit can be used simultaneously (and are in Artix depending on which iso you download), I decided to just download the runit flavor, reinstall, and then follow the instructions on the reddit post. Now I see that yay lists a service script which can do it automatically (nice options).

Even after PDD working and using ryzenadj to manually set the power limit -- just as I would do in EndeavourOs -- my battery life is still slightly worse. I don't know if it has to do with Artix's custom kernel or if it is a D-Bus issue or something

Re: power-profiles-daemon (with grub)

Reply #3
I am glad that what you want to work is working but you are completely confused. 

Quote
then realizing that grub and runnit can be used simultaneously

grub could care less what init system you use.  It is a boot loader.  And it is the default boot loader of the vast majority of installations... like maybe over 99%?

I am glad you realized it because it is not the exception.  It is the rule.

FWIW: https://linuxconfig.org/how-to-manage-power-profiles-over-d-bus-with-power-profiles-daemon-on-linux

Re: power-profiles-daemon (with grub)

Reply #4
Hey,

Thanks for this!

Yes I was coming from EndeavourOS which uses systemd as both an init and a bootloader.

I much prefer grub and like Artix's stance on the whole systemd vs the rest

Re: power-profiles-daemon (with grub)

Reply #5
systemd is not a boot loader either...

You are talking perhaps about the UEFI boot loader systemd-boot which, despite its name, has zero to do with systemd

https://wiki.archlinux.org/title/Systemd-boot