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

--- Comment #7 from Daniel Gibson <metalcae...@gmail.com> ---
This bug might be related: https://bugs.kde.org/show_bug.cgi?id=434432

However, it seems like powerdevil (4:5.27.10-0ubuntu1) sends the correct data.
I ran `$ dbus-monitor "interface='org.kde.Solid.PowerManagement'"`
and got output like:

signal time=1710350808.162323 sender=:1.46 -> destination=(null destination)
serial=1751 path=/org/kde/Solid/PowerManagement;
interface=org.kde.Solid.PowerManagement; member=batteryRemainingTimeChanged
   uint64 31742192
signal time=1710350808.162364 sender=:1.46 -> destination=(null destination)
serial=1752 path=/org/kde/Solid/PowerManagement;
interface=org.kde.Solid.PowerManagement;
member=smoothedBatteryRemainingTimeChanged
   uint64 30990825
signal time=1710350838.166760 sender=:1.46 -> destination=(null destination)
serial=1753 path=/org/kde/Solid/PowerManagement;
interface=org.kde.Solid.PowerManagement; member=batteryRemainingTimeChanged
   uint64 32683561
signal time=1710350838.166803 sender=:1.46 -> destination=(null destination)
serial=1754 path=/org/kde/Solid/PowerManagement;
interface=org.kde.Solid.PowerManagement;
member=smoothedBatteryRemainingTimeChanged
   uint64 31203221

I guess those values are in ms, and e.g. 32683561 ms are 9.079h, which matches
the
 time to empty:       9.1 hours
from upower -d
However, the battery monitor applet continues to show "2:48 remaining", and
continues to show that value even if I turn the screen brightness up fully;
while upower says "time to empty:       6.3 hours" and dbus-monitor says

signal time=1710351498.757384 sender=:1.46 -> destination=(null destination)
serial=1923 path=/org/kde/Solid/PowerManagement;
interface=org.kde.Solid.PowerManagement; member=batteryRemainingTimeChanged
   uint64 21700699
which is 6.0278h

So probably the bug is in the Battery Monitor itself

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

Reply via email to