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

            Bug ID: 480879
           Summary: Battery and Brightness widget not updating Remaining
                    Rime
    Classification: Plasma
           Product: plasmashell
           Version: 5.27.10
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Battery Monitor
          Assignee: plasma-b...@kde.org
          Reporter: kka...@gmail.com
                CC: k...@privat.broulik.de, m...@ratijas.tk,
                    natalie_clar...@yahoo.de
  Target Milestone: 1.0

SUMMARY

Battery and brightness applet does not update the battery remaining time but
does update battery state (charging/discharging) and percentage.

STEPS TO REPRODUCE

1. Just hover the mouse over the Battery and Brightness applet.

OBSERVED RESULT

I am using Kubuntu 23.10 with backports. Fresh install. The applet was not
working in default plasma version and is not working with 5.27.10 as well.

Strangely enough it was working for several minutes after the update to plasma
5.27.10 and after a while stopped updating.

The command: upower -i /org/freedesktop/UPower/devices/battery_BAT0
is showing and updating remaining time on battery correctly.

The output of command: 
upower -i /org/freedesktop/UPower/devices/battery_BAT0
is:
  native-path:          BAT0
  vendor:               SMP
  model:                02DL028
  serial:               975
  power supply:         yes
  updated:              pon, 5 lut 2024, 08:32:25 (28 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    energy:              76,66 Wh
    energy-empty:        0 Wh
    energy-full:         85,27 Wh
    energy-full-design:  90 Wh
    energy-rate:         6,402 W
    voltage:             12,337 V
    charge-cycles:       34
    time to empty:       12,0 hours
    percentage:          89%
    capacity:            94,7444%
    technology:          lithium-polymer
    icon-name:          'battery-full-symbolic'
  History (charge):
    1707118315  89,000  discharging
  History (rate):
    1707118345  6,402   discharging
    1707118315  7,165   discharging
    1707118285  6,567   discharging

The output of command: 
acpi -lb
is:
Battery 0: Discharging, 86%, 10:29:47 remaining
Battery 0: design capacity 7348 mAh, last full capacity 6962 mAh = 94%

The output of command: 
dbus-monitor --system interface=org.freedesktop.UPower
interface=org.freedesktop.UPower.Device
is:
dbus-monitor: unable to enable new-style monitoring:
org.freedesktop.DBus.Error.AccessDenied: "Rejected send message, 1 matched
rules; type="method_call", sender=":1.219" (uid=1000 pid=7475
comm="dbus-monitor --system interface=org.freedesktop.UP" label="unconfined")
interface="org.freedesktop.DBus.Monitoring" member="BecomeMonitor" error
name="(unset)" requested_reply="0" destination="org.freedesktop.DBus" (bus)".
Falling back to eavesdropping.
signal time=1707119461.834604 sender=org.freedesktop.DBus -> destination=:1.219
serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus;
member=NameAcquired
   string ":1.219"

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
Kubuntu 23.10
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.10
UPower client version 1.90.2
UPower daemon version 1.90.2

ADDITIONAL INFORMATION

It may or may not be related, but there is also a problem with Power profile
selection in this applet.
The slider always returns to the position where it was previously.

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

Reply via email to