Disabling Chromium XFCE Power Management Inhibition

chromepower-managementscreensaverxfce

For a long time I've been having problems with my Screen Saver not working properly, now it seems it tells me the problem in the XFCE4 Panel's Power Manager Plugin

xfce power manager plugin

Captain reads

/usr/lib/chromium-browser/chromium-browser is currently inhibiting power management

It seems specifically that a backgrounded tab of Reuters is doing it

How do I disable this most annoying "feature" of chromium-browser

When I run xfce4-power-manager --no-daemon --debug, I get in the output,

TRACE[xfpm-inhibit.c:405] xfpm_inhibit_inhibit(): Inhibit send application name=/usr/lib/chromium-browser/chromium-browser reason=WebRTC has active PeerConnections sender=:1.628

External links

Best Answer

This is a verified bug without a patch yet, Launchpad Bug 1600622

One solution that is far from ideal is to block all advertisements with uBlock Origin. Chrome can still inhibit the screensaver, but in this case it seems that whatever is responsible isn't getting through.

Specifically the problem seems to be with GoogleTagServices.com which pulls in this script. If that's blocked by uBlock Origin, you're good and you won't have Power Management Inhibition. If that's not blocked, you'll have problems.

Related Question