Comment 5 for bug 1588944

Revision history for this message
Dave Chiluk (chiluk) wrote :

So as I haven't really messed with power monitoring, I discovered upower --monitor-detail.

After having been unplugged for a few minutes the below state change occurred. I'm open to advice on how to continue looking into this. My first guess is to open the upower sources to see where it's getting this information. I'm guessing it will be dbus. How dbus is monitoring it though is anyone's guess.

chiluk@x1:~$ sudo upower --monitor-detail
[sudo] password for chiluk:
Monitoring activity from the power daemon. Press Ctrl+C to cancel.

[13:31:28.826] device changed: /org/freedesktop/UPower/devices/battery_BAT0
  native-path: BAT0
  power supply: yes
  updated: Tue 07 Jun 2016 01:31:28 PM CDT (0 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
    rechargeable: yes
    state: empty
    warning-level: none
    energy: 0 Wh
    energy-empty: 0 Wh
    energy-full: 0 Wh
    energy-full-design: 0 Wh
    energy-rate: 0 W
    percentage: 0%
    capacity: 100%
    icon-name: 'battery-empty-symbolic'