https://bugs.kde.org/show_bug.cgi?id=472657

--- Comment #7 from Oded Arbel <o...@geek.co.il> ---
(In reply to Nate Graham from comment #6)
> Pretty sure this is unfortunately a kernel bug:
> https://bugzilla.kernel.org/show_bug.cgi?id=210425.
> 
> I'm on 6.4.11 and can't reproduce it anymore, though I was able to in the
> past.

I'm also currently on 6.4.11 (installed using "mainline", and I should really
get a new kernel). From what I understand, the issue reported in kernel bug
210425 should have already been fixed in the 6.0 branch (as you yourself has
mentioned in comment 46) - so should have been working fine with the 6.2.0
kernel I was using in July.

Also, regarding the original UPower bug you reported, I can see the UPower
events on the system D-Bus:

---8<---
signal time=1693597149.313791 sender=:1.31 -> destination=(null destination)
serial=8791 path=/org/freedesktop/UPower/devices/line_power_AC;
interface=org.freedesktop.DBus.Properties; member=PropertiesChanged
   string "org.freedesktop.UPower.Device"
   array [
      dict entry(
         string "UpdateTime"
         variant             uint64 1693597149
      )
      dict entry(
         string "Online"
         variant             boolean false
      )
   ]
   array [
   ]
signal time=1693597149.440405 sender=:1.31 -> destination=(null destination)
serial=8793 path=/org/freedesktop/UPower/devices/battery_BAT0;
interface=org.freedesktop.DBus.Properties; member=PropertiesChanged
   string "org.freedesktop.UPower.Device"
   array [
      dict entry(
         string "UpdateTime"
         variant             uint64 1693597149
      )
      dict entry(
         string "IconName"
         variant             string "battery-full-symbolic"
      )
      dict entry(
         string "Voltage"
         variant             double 12.768
      )
      dict entry(
         string "State"
         variant             uint32 2
      )
   ]
   array [
   ]
---8<---

And the issue is about connecting and disconnecting the charger when the system
is powered on and not sleeping, so I don't think it relates much to the kernel
bug anyway.

I don't think its an issue with Plasma not seeing the UPower event because - as
I've noted in the description - the battery icon moves from being shown hidden
in the system tray overflow dialog to be visible in the system tray when
disconnecting the charger (because it is set to "shown when relevant" in the
system tray configuration) - so obviously Plasma sees a change. But then it
disobeys UPower when it says - as shown in the `upower -d` output in the bug
description, and the D-Bus monitor output above - to show icon
"battery-full-symbolic", instead it keeps showing
"battery-full-charged-symbolic" (which is what UPower says to show when the
charger is connected).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to