Hi,

Am Dienstag, 10. März 2015 schrieb Ronoaldo José de Lana Pereira:
> I can confirm that starting upower before the KDE session makes everything
> work as expected. As a workaround, I am currently using the /etc/rc.local
> script to start upower with systemctl, as Andreas pointed out:
> 
> 1) Make the /etc/rc.local script executable with: sudo chmod +x
> /etc/rc.local
> 2) Edit the file and add this line before the "exit 0" one: systemctl start
> upower

thanks for your feedback. Another way to workaround the issue is to enable the 
upower service with: systemctl enable upower

Upower is then started automatically during boot.

> I walked trough the kde-workspace-bin debian source, and seems like
> PowerDevil launches the upower service via DBus if it is not running, but I
> was unable to find out why the thread that monitors the battery level
> change don't work properly in some cases. It looks like some hardware
> specific information from the battery may cause be the issue, i.e., when
> upower starts from PowerDevil, it may not work as expected and the thread
> don't start properly. The weirdiest thing is that the battery icon *does*
> work, i.e., it shows the proper level; only the low/critical actions aren't
> triggered.
>
> I do agree, however, that the issue seems to be hardware specific, since it
> don't happen with most users, but it should be put in a wiki/errata so
> people can actually find the workaround for it.

I tested another notebook, Dell Latitude E6330 and the issue is exactly the 
same. Also the workaround is the same.

Since there are several years between the release dates of the two tested 
notebooks, it does not look like a hardware specific issue to me. Or the 
affected hardware base is really large. I'll tend to change the severity back 
to grave as I don't think that Jessie should be released with a non-working 
power management in KDE, but waiting for your feedback first.

Stuart, as you could not reproduce the issue, please can you provide more 
details on when upower is started on your setup?

Thanks

Andreas

Reply via email to