This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Battery applet doesn't show charge state, but solid does?

Tags: None
(comma "," separated)
User avatar
doktor5000
Registered Member
Posts
28
Karma
0
OS
Hi all,

got a weird problem here. For some of my colleagues the battery applet shows that the battery is not connected.
solid-hardware list didn't show a battery like on my own box, so remembered that maybe upower is missing,
installed and started it.

Code: Select all
solid-hardware query 'IS Battery'

or
Code: Select all
solid-hardware details /org/freedesktop/UPower/devices/battery_BAT0

perfectly show the battery and charge state, but the battery applet doesn't, even after removing
and readding it back and after deleting the configuration (at least from enhanced battery monitor,
the default applet doesn't seem to save separate configuration apart from plasma-desktop-appletsrc)

Does it take a logout/login for the battery applet to notice that upower is there,
or maybe something like kbuildsyscoca4 --noincremental?

BTW: upower -d, acpi -b or /proc... and /sys... perfectly show battery and charge state.
This is all under RHEL 6.4 with KDE 4.10.1

Please let me know what additional information is required.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
As Plasma Desktop loads data engines once, and doesn't unload them - you may need to restart plasma-desktop in order for it to pick up changes in the availability of UPower.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
doktor5000
Registered Member
Posts
28
Karma
0
OS
Thanks for the info, will try. :)

Out of curiosity, should a
Code: Select all
kquitapp plasma-deskop && plasma-desktop
also suffice to reload dataengines?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Yes it would have this effect. As a quicker test though, you can use the following command, which will start an independent instance of the battery applet:
Code: Select all
plasma-windowed battery


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar