On 08/17/2012 11:52 AM, Marco Martin wrote:
Hi all,
i seen that with the latest Mer release powermanagement wasn't working anymore
in plasma active
tried to find out why and found this thing:
the file
/usr/share/dbus-1/system-services/org.freedesktop.UPower.service
istalled by the upower package is like that:
[D-BUS Service]
Name=org.freedesktop.UPower
Exec=/usr/libexec/upowerd
User=root
SystemdService=upower.service
now, upower.service doesn't actually exist in systemd, and this causes upower
*not* being started by dbus when asked to.
removing the line SystemdService=upower.service all works normally again, so
should be removed in the next release?
Cheers,
Marco Martin
Hi,
Because of missing build requirement upower didn't detect systemd and
auto settings was disabling proper systemd integration. I added
--enable-systemd now to be sure that the build fails if systemd build
requirements are not found.
I have fixed version of upower at
https://build.pub.meego.com/package/show?package=upower&project=home%3Asage%3Abranches%3AMer%3Afake%3ACore%3Ai586
could you test if that works ok for you?
Ps. I also updated it to version 0.9.18:
New Features:
- Use systemd if possible for suspend and hibernate (Matthias Clasen)
Bugfixes:
- openbsd: Properly initialize update-time when creating devices
(Landry Breuil)
Regards,
Marko