Kde battery indicator remaining time stucked

Bug #1849367 reported by Nightelf7
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kdelibs (Ubuntu)
New
Undecided
Unassigned

Bug Description

I have the latest kubuntu 19.10 with kde 5.16.5.
When I look the battery icon it show me the same reamining time no matter what is the percentage of energy remaining in the battery.
I monitor dbus with this command "dbus-monitor --system sender=org.freedesktop.UPower"
And I get this:

dbus-monitor --system sender=org.freedesktop.UPower
dbus-monitor: unable to enable new-style monitoring: org.freedesktop.DBus.Error.AccessDenied: "Rejected send message, 1 matched rules; type="method_call", sender=":1.1599" (uid=1000 pid=12348 comm="dbus-monitor --system sender=org.freedesktop.UPowe" 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=1571765384.592371 sender=org.freedesktop.DBus -> destination=:1.1599 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.1599"
signal time=1571765393.680203 sender=:1.681 -> destination=(null destination) serial=265 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 1571765393
      )
      dict entry(
         string "TimeToEmpty"
         variant int64 30127
      )
      dict entry(
         string "Voltage"
         variant double 8.056
      )
      dict entry(
         string "Percentage"
         variant double 74
      )
      dict entry(
         string "EnergyRate"
         variant double 5.358
      )
      dict entry(
         string "Energy"
         variant double 44.84
      )
   ]
   array [
   ]
signal time=1571765393.680667 sender=:1.681 -> destination=(null destination) serial=266 path=/org/freedesktop/UPower/devices/DisplayDevice; interface=org.freedesktop.DBus.Properties; member=PropertiesChanged
   string "org.freedesktop.UPower.Device"
   array [
      dict entry(
         string "UpdateTime"
         variant uint64 1571765393
      )
      dict entry(
         string "Percentage"
         variant double 74
      )
      dict entry(
         string "TimeToEmpty"
         variant int64 30127
      )
      dict entry(
         string "EnergyRate"
         variant double 5.358
      )
      dict entry(
         string "Energy"
         variant double 44.84
      )
   ]
   array [
   ]

So it seems that is receiving the good values but the battery indicator in the systray is not working at all. The only good value it gets is the total percentage of the battery.

affects: gnome-power-manager (Ubuntu) → kdelibs (Ubuntu)
Revision history for this message
Nightelf7 (nightelf7) wrote :

Is there any debug information do you need in order to help to resolve this bug?
Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.