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

Battery notifications not showing up

Tags: None
(comma "," separated)
gfurst
Registered Member
Posts
54
Karma
0
OS

Battery notifications not showing up

Thu Jun 04, 2015 12:13 am
Hey there, I'm having this issue that there is no notifcation what so ever on any battery state.
This wouldn't be much of an issue, but my battery is getting old and unpredictably dies below 10%.
Pretty sure any action taken, like suspend and etc, isn't acting up either.
On a side note trying to play sounds in the notification window pretty much crashes the whole environment, plasma, panel, everything...

Cheers and thanks for the fish.
luebking
Karma
0
"kcmshell4 kded" (resp. "kcmshell5 kded"), check whether the power management daemon is running.

You should be getting a DrKonqi dialog for the crash, which hopefully includes "Delveloper Information" - DrKonqi will allow you to report the crash to bugs.kde.org - without the "Delveloper Information" (a backtrace) it's however impossible to say anything about the problem.
gfurst
Registered Member
Posts
54
Karma
0
OS
luebking wrote:"kcmshell4 kded" (resp. "kcmshell5 kded"), check whether the power management daemon is running.

You should be getting a DrKonqi dialog for the crash, which hopefully includes "Delveloper Information" - DrKonqi will allow you to report the crash to bugs.kde.org - without the "Delveloper Information" (a backtrace) it's however impossible to say anything about the problem.

Thanks for the reply!
Power management was probably running, screen brightness was working normally, but will check with that command when I get the chance.
When the crash happens, the dialog doesn't appear, everything is broken, for example the notification is left on a floating window, log-out logging in again with ctrl+alt+del
luebking
Karma
0
You could press Alt+F2 (show krunner) and run "plasmashell" ("plasma-desktop" for KDE4) from there.
gfurst
Registered Member
Posts
54
Karma
0
OS
luebking wrote:You could press Alt+F2 (show krunner) and run "plasmashell" ("plasma-desktop" for KDE4) from there.

No, everything crashes, including krunner, I've tried...
luebking
Karma
0
It seems rather strange that some action in process "a" takes down processes b, c, etc. - except if X11 crashes (and you're back on the login screen) or nothing actually "crashes" (like in "segfaults") - tried to move to another Vt (ctrl+alt+F1/2/3/...) and checked what's left running?

Code: Select all
ps ax | grep -E '(kwin|plasma|krunner|ksmserver|kdeinit|kded)'


Would also something rather unrelated (eg. xterm) "crash"?
gfurst
Registered Member
Posts
54
Karma
0
OS
So while its good to mitigate the crashes, its really not the focus of the thread.
As I mentioned, my battery is getting old and suddenly shutsdown anywhere below 10%, so having proper notification event handling is very important.

On the other note, a different crash with the same result, everything in the shell gone, but krunner indeed lived through.
User avatar
AndrewAmmerlaan
Registered Member
Posts
4
Karma
0
OS
I have the same problem on a very old laptop, I tested different desktop environments and different distros, and I concluded that this either a bug in something I haven't tested (acpi, upower, etc...) , or a hardware issue. Not sure if the same goes for your laptop, but I would consider the possibility that this is not KDE related.
gfurst
Registered Member
Posts
54
Karma
0
OS
AndrewAmmerlaan wrote:I have the same problem on a very old laptop, I tested different desktop environments and different distros, and I concluded that this either a bug in something I haven't tested (acpi, upower, etc...) , or a hardware issue. Not sure if the same goes for your laptop, but I would consider the possibility that this is not KDE related.

Hey thanks for the input. While it could make sense what you said, I"m pretty sure its a KDE thing, specially because its only related with notification and KDE not being aware.
Actually now that I've read your post again, you don't what issue you're actually having, if its the battery suddenly dying out before 0%, yeah its unfortunately a hardware issue.
My actual issue is with KDE not noting when my battery reaches the specified low level, for this reason (and general easiness on the system) I'm sticking with LxQt, which properly notices and acts when the low level reaches.
luebking
Karma
0
As long as random things and notably kded (daemon module keeping process) or plasmashell/plasma-desktop keep crashing, you expectably won't get any notifications - that's not a surprise, so stopping whatever causes those crashes would indeed /be/ your main focus.
KRunner is irrelevant in this regard.

Just to rule out the obvious: "kcmshell4 notify" (resp. "kcmshell5 notify") - the notification isn't just disabled, is it?
User avatar
AndrewAmmerlaan
Registered Member
Posts
4
Karma
0
OS
gfurst wrote:
AndrewAmmerlaan wrote:I have the same problem on a very old laptop, I tested different desktop environments and different distros, and I concluded that this either a bug in something I haven't tested (acpi, upower, etc...) , or a hardware issue. Not sure if the same goes for your laptop, but I would consider the possibility that this is not KDE related.

Hey thanks for the input. While it could make sense what you said, I"m pretty sure its a KDE thing, specially because its only related with notification and KDE not being aware.
Actually now that I've read your post again, you don't what issue you're actually having, if its the battery suddenly dying out before 0%, yeah its unfortunately a hardware issue.
My actual issue is with KDE not noting when my battery reaches the specified low level, for this reason (and general easiness on the system) I'm sticking with LxQt, which properly notices and acts when the low level reaches.

yeah I know, no notifications, that was what I was talking about. On my laptop I don't get notifications (sound or pop-up) when the battery reaches a set level, independent of distro or desktop environment.
gfurst
Registered Member
Posts
54
Karma
0
OS
AndrewAmmerlaan wrote:yeah I know, no notifications, that was what I was talking about. On my laptop I don't get notifications (sound or pop-up) when the battery reaches a set level, independent of distro or desktop environment.

Have you tried Lxqt? Besides being pretty simple, it has a countdown popup thats pretty hard to miss.
Its a bit harder to setup and get used with but its paying off well.
User avatar
AndrewAmmerlaan
Registered Member
Posts
4
Karma
0
OS
gfurst wrote:
AndrewAmmerlaan wrote:yeah I know, no notifications, that was what I was talking about. On my laptop I don't get notifications (sound or pop-up) when the battery reaches a set level, independent of distro or desktop environment.

Have you tried Lxqt? Besides being pretty simple, it has a countdown popup thats pretty hard to miss.
Its a bit harder to setup and get used with but its paying off well.

I can't recall if i tried lxqt, but the laptop this is not working on, i hardly use, while battery notifications work fine on my main-laptop, on which i also tested some distros/desktop environments and they all worked fine, so at least for me it is definitely a problem with the laptop, anyway i barely use it so it's not worth the time to figure out what exactly is wrong with it. It's very old so it might just be that some information from the battery is no longer passed on to the os.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]