snapd icon indicating copy to clipboard operation
snapd copied to clipboard

interfaces: make upower-observe implicit on core if /usr/libexec/upowerd exists

Open robert-ancell opened this issue 3 years ago • 0 comments

This change is similar to one done for polkit.

We want to be able to use the upower-observe interface on Ubuntu Core Desktop, so need an implicit system slot to be present there. This PR takes the approach of providing an implicit slot if the executable /usr/libexec/upowerd exists. This should be true for Core Desktop, and false for regular Core.

Note that there used to be a upower snap, but this was deprecated.

robert-ancell avatar Oct 05 '22 03:10 robert-ancell