Ubuntu – Sound system is eating away the battery

acpialsapower-managementpowertopsoundcard

In my laptop the sound code is running at 100% even when I am not playing anything. It is causing my palm rest to hit significantly. While I do not face the issue on windows machine where I am using the drivers for IDT. Here is the output of the powertop.

Summary: 0.0 wakeups/second, 0.0 GPU ops/second and 0.0 VFS ops/sec

            Usage       Events/s    Category       Description
        100.0%                      Device         Audio codec hwC0D0: IDT
         52.3 ms/s       0.0        Process        compiz

Is there any solution to decrease the power consumption of the sound device.

Best Answer

I added the following to /etc/rc.local

echo 1 | tee /sys/module/snd_hda_intel/parameters/power_save

echo Y | tee /sys/module/snd_hda_intel/parameters/power_save_controller

pkill pulseaudio

pulseaudio --start 

exit 0

And it seems to have done the trick...