I am running Manjaro stable with cinnamon, with powertop reporting ~7W in idle with screen at 50% the last time I checked “a few weeks ago”, but now its “suddenly” like 12W~13W.
htop showed 2 instances of pulseaudio which consume ~ 4.5% and 2.5% CPU , which I think might be too much and maybe the reason ?
After my fresh install of Manjaro about ~1 year ago, I had some issues with audio not working but found a hint here that I need to add a special audio driver … and it worked great after I installed it … honestly can’t really remember what I did , but grabbed the info from this thread:
I am now on kernel 6.9.3 and just read in the old thread that audio should now be handled “out of the box” (?) by kernel >= 6.9 … maybe a collision of drivers now ?
Actually, and I may have mentioned that, the laptop consumes 12~13W instead of ~7W in idle, while NOT playing any audio.
I just saw pulseaudio in the process list with a (as I think) high CPU consumption while NOT playing any audio …
Anyway, I stopped pulseaudio as suggested and looks like that saved ~2W
Stupid, newbee question : What do I need pulseaudio for if I can (just ?) use ALSA ?
ALSA is the basic sound driver. It can play and record audio, but only one stream without a mixer by default.
PULSEAUDIO works on top of ALSA. Here you can listen to sound from multiple applications at once, not only one, but not only that, there are a lot of more modules to extent its functionalities. Downside is just: It consumes CPU Power…
Usually the audio device should suspend after time by default when not active. If not, then there must a digital connection like HDMI or DisplayPort which serves Audio. There it will power idle until you switch the audio profile. I mean this for example:
ALSA is good for playing one audio stream direct to an audio device
PulseAudio was created to provide better support for mixing multiple audio streams, resampling, upmixing to surround sound and digital signal processing
ALSA plugins provide similar functions to PulseAudio but they do not have GUI controls
(e.g. ALSA can have a graphic equalizer with fixed settings, but there are no controls to adjust settings
and ALSA would need to be restarted to load new settings)
PulseAudio has module-suspend-on-idle that suspends sinks and sources after a predetermined amount of idle time. Defaullt exit-idle-time for PulseAudio is 20 seconds
Note that many program rely on pipewire/pulseaudio. ALSA is sometimes used as fallback/legacy sound server in older software, but not always. So keep that in mind.
I use a minimal configuration for PulseAudio (1 static sink and source) and htop reports 1-2% CPU usage
Latest version of PulseAudio 17.0 was released in Jan 2024 so a recent increase in power usage is more likely to be from other packages using PulseAudio