[Pkg-utopia-maintainers] Bug#865402: upower dumber than advertised

J Mo jmomo at jmomo.net
Wed Jun 21 06:29:04 UTC 2017


Here's the dbus messages being sent when I unplug/replug the power cable:

-->dbus-monitor
signal time=1498026097.362125 sender=:1.28 -> destination=(null 
destination) serial=538 path=/org/kde/Solid/PowerManagement; 
interface=org.kde.Solid.PowerManagement; member=batteryRemainingTimeChanged
    uint64 11887000

signal time=1498026102.312051 sender=:1.28 -> destination=(null 
destination) serial=539 path=/org/kde/Solid/PowerManagement; 
interface=org.kde.Solid.PowerManagement; member=batteryRemainingTimeChanged
    uint64 2935000



So I don't know WTF upower is supposed to be doing, but it's broke as 
far as I care.


Here's the full system messages:

signal time=1498026452.480563 sender=:1.20 -> destination=(null 
destination) serial=1174 
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 1498026452
       )
       dict entry(
          string "TimeToFull"
          variant             int64 11455
       )
       dict entry(
          string "Voltage"
          variant             double 12.078
       )
       dict entry(
          string "Percentage"
          variant             double 40
       )
       dict entry(
          string "Energy"
          variant             double 20.0232
       )
    ]
    array [
    ]
signal time=1498026452.481219 sender=:1.20 -> destination=(null 
destination) serial=1175 
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 1498026452
       )
       dict entry(
          string "Percentage"
          variant             double 40
       )
       dict entry(
          string "TimeToFull"
          variant             int64 11455
       )
       dict entry(
          string "Energy"
          variant             double 20.0232
       )
    ]
    array [
    ]
signal time=1498026452.481304 sender=:1.20 -> destination=(null 
destination) serial=1176 
path=/org/freedesktop/UPower/devices/line_power_ADP1; 
interface=org.freedesktop.DBus.Properties; member=PropertiesChanged
    string "org.freedesktop.UPower.Device"
    array [
       dict entry(
          string "UpdateTime"
          variant             uint64 1498026452
       )
       dict entry(
          string "Online"
          variant             boolean false
       )
    ]
    array [
    ]


signal time=1498026458.190819 sender=:1.20 -> destination=(null 
destination) serial=1188 
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 1498026458
       )
       dict entry(
          string "IconName"
          variant             string "battery-good-symbolic"
       )
       dict entry(
          string "TimeToFull"
          variant             int64 0
       )
       dict entry(
          string "TimeToEmpty"
          variant             int64 3137
       )
       dict entry(
          string "Voltage"
          variant             double 11.416
       )
       dict entry(
          string "State"
          variant             uint32 2
       )
       dict entry(
          string "EnergyRate"
          variant             double 22.9284
       )
       dict entry(
          string "Energy"
          variant             double 19.98
       )
    ]
    array [
    ]
signal time=1498026458.191180 sender=:1.20 -> destination=(null 
destination) serial=1189 
path=/org/freedesktop/UPower/devices/DisplayDevice; 
interface=org.freedesktop.DBus.Properties; member=PropertiesChanged
    string "org.freedesktop.UPower.Device"
    array [
       dict entry(
          string "IconName"
          variant             string "battery-good-symbolic"
       )
       dict entry(
          string "UpdateTime"
          variant             uint64 1498026458
       )
       dict entry(
          string "TimeToFull"
          variant             int64 0
       )
       dict entry(
          string "TimeToEmpty"
          variant             int64 3137
       )
       dict entry(
          string "EnergyRate"
          variant             double 22.9284
       )
       dict entry(
          string "Energy"
          variant             double 19.98
       )
       dict entry(
          string "State"
          variant             uint32 2
       )
    ]
    array [
    ]
signal time=1498026458.191288 sender=:1.20 -> destination=(null 
destination) serial=1190 
path=/org/freedesktop/UPower/devices/line_power_ADP1; 
interface=org.freedesktop.DBus.Properties; member=PropertiesChanged
    string "org.freedesktop.UPower.Device"
    array [
       dict entry(
          string "UpdateTime"
          variant             uint64 1498026458
       )
       dict entry(
          string "Online"
          variant             boolean true
       )
    ]
    array [
    ]



More information about the Pkg-utopia-maintainers mailing list