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

--- Comment #15 from Daniel Gibson <metalcae...@gmail.com> ---
I haven't looked at the code, but quickly tried the following (I'll add
comments starting with "#" between the lines to document what I did):

$ dbus-monitor "interface='org.kde.Solid.PowerManagement.Actions.PowerProfile'"
signal time=1710353718.842724 sender=org.freedesktop.DBus -> destination=:1.164
serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus;
member=NameAcquired
   string ":1.164"
signal time=1710353718.842774 sender=org.freedesktop.DBus -> destination=:1.164
serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus;
member=NameLost
   string ":1.164"

# set profile to balanced with the slider (which immediately jumped back) 

method call time=1710353728.906855 sender=:1.41 ->
destination=org.kde.Solid.PowerManagement serial=3938
path=/org/kde/Solid/PowerManagement/Actions/PowerProfile;
interface=org.kde.Solid.PowerManagement.Actions.PowerProfile; member=setProfile
   string "balanced"
signal time=1710353728.972333 sender=:1.46 -> destination=(null destination)
serial=2018 path=/org/kde/Solid/PowerManagement/Actions/PowerProfile;
interface=org.kde.Solid.PowerManagement.Actions.PowerProfile;
member=currentProfileChanged
   string "balanced"

# run `$ powerprofilesctl set power-saver`

signal time=1710353735.988951 sender=:1.46 -> destination=(null destination)
serial=2020 path=/org/kde/Solid/PowerManagement/Actions/PowerProfile;
interface=org.kde.Solid.PowerManagement.Actions.PowerProfile;
member=currentProfileChanged
   string "power-saver"

# moving slider to performance (it immediately jumped back)

method call time=1710353743.614882 sender=:1.41 ->
destination=org.kde.Solid.PowerManagement serial=3939
path=/org/kde/Solid/PowerManagement/Actions/PowerProfile;
interface=org.kde.Solid.PowerManagement.Actions.PowerProfile; member=setProfile
   string "performance"
signal time=1710353743.654630 sender=:1.46 -> destination=(null destination)
serial=2021 path=/org/kde/Solid/PowerManagement/Actions/PowerProfile;
interface=org.kde.Solid.PowerManagement.Actions.PowerProfile;
member=currentProfileChanged
   string "performance"


This makes me wonder if this is the same bug as "my" other bug:
https://bugs.kde.org/show_bug.cgi?id=471010
In both cases PowerDevil sends the correct DBus messages, but the UI sticks (or
in this case reverts) to some nonsense-value, maybe one it set on boot or
something.

TBH I have zero experience with Qt development, so it would be nice if someone
else could debug what's exactly going wrong in the battery monitor - or if you
can't reproduce it, instruct me what to do :)

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

Reply via email to