You are not logged in.

#1 2018-04-20 19:46:24

paneves
Member
Registered: 2016-01-17
Posts: 28

Plasma not detecting charger unplugged

Hi all:

I'm running plasma on my brand new KDE Simbook and it seems Plasma does not detect when the charger is unplugged. Whether the charger is plugged or unplugged, the icon on the System tray always shows the battery with the plug.
The system however, correctly reports the status: if the charger is plugged and I do:  cat /sys/class/power_supply/ADP1/online , I get "1". If the charger is unppluged cat /sys/class/power_supply/ADP1/online reports "0".

Any ideas?

thanks in advance:

Pedro

Offline

#2 2018-09-06 20:08:19

bashM0nk3y
Member
From: the big she-bang
Registered: 2018-05-26
Posts: 49

Re: Plasma not detecting charger unplugged

Same issue here on a thinkpad T470..

4.14.67-1-lts
plasma version 5.13.5
kde frameworks 5.49.0
qt 5.11.1

Offline

#3 2018-09-06 21:18:03

Xailes
Member
Registered: 2018-09-06
Posts: 1

Re: Plasma not detecting charger unplugged

Hi,

I had the same problem few days ago. The last version of Upower (0.99.8-1) was guilty. I've downgraded the package to 0.99.7-1 and now, it works.

There's a bug report for this issue : https://bugs.archlinux.org/task/59865

You can try to edit upower.service with "systemctl edit upower.service" and put this lines (it doesn't work for me) :
[Service]
ProtectKernelTunables=false

Last edited by Xailes (2018-09-07 07:27:55)

Offline

#4 2018-09-07 14:13:22

Askannz
Member
Registered: 2016-10-22
Posts: 36

Re: Plasma not detecting charger unplugged

Same issue here on a MSI GE63VR, although it seems to be quite random : sometimes the indicator is not consistent with what the kernel reports (shows "charging" whereas "cat /sys/class/power_supply/BAT1/status" shows "discharging"), and sometimes it is not even consistent with itself (shows "discharging" but with the "power plug" icon).

Last edited by Askannz (2018-09-07 14:14:56)

Offline

Board footer

Powered by FluxBB