Comment 4 for bug 1219942

Revision history for this message
Alexandru Bolboaca (alex-boly) wrote :

Sure. See the attached photo for the charging battery and two dumps: when charging (and showing the wrong time left) and discharging (and showing the correct time left).

upower --dump when charging
========================

Device: /org/freedesktop/UPower/devices/line_power_ACAD
  native-path: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/ACPI0003:00/power_supply/ACAD
  power supply: yes
  updated: Fri Oct 4 09:09:22 2013 (34 seconds ago)
  has history: no
  has statistics: no
  line-power
    online: yes

Device: /org/freedesktop/UPower/devices/battery_BAT1
  native-path: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/PNP0C0A:00/power_supply/BAT1
  vendor: SANYO
  model: PABAS0241231
  serial: 41167
  power supply: yes
  updated: Fri Oct 4 09:09:28 2013 (28 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
    rechargeable: yes
    state: charging
    energy: 4.229 Wh
    energy-empty: 0 Wh
    energy-full: 5.989 Wh
    energy-full-design: 6.271 Wh
    energy-rate: 64.23 W
    voltage: 11.621 V
    time to full: 1.6 minutes
    percentage: 70.6128%
    capacity: 95.5031%
    technology: lithium-ion
  History (charge):
    1380874162 70.613 charging
    1380874152 70.696 discharging
    1380874122 70.963 discharging
    1380874092 71.214 discharging
  History (rate):
    1380874168 64.230 charging
    1380874164 65.325 charging
    1380874162 1.243 charging
    1380874152 1.324 discharging
    1380874122 1.359 discharging
    1380874092 1.187 discharging

Daemon:
  daemon-version: 0.9.20
  can-suspend: yes
  can-hibernate: no
  on-battery: no
  on-low-battery: no
  lid-is-closed: no
  lid-is-present: yes
  is-docked: no

upower --dump when discharging
==========================

Device: /org/freedesktop/UPower/devices/line_power_ACAD
  native-path: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/ACPI0003:00/power_supply/ACAD
  power supply: yes
  updated: Thu Oct 3 18:24:25 2013 (53080 seconds ago)
  has history: no
  has statistics: no
  line-power
    online: no

Device: /org/freedesktop/UPower/devices/battery_BAT1
  native-path: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/PNP0C0A:00/power_supply/BAT1
  vendor: SANYO
  model: PABAS0241231
  serial: 41167
  power supply: yes
  updated: Fri Oct 4 09:08:42 2013 (23 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
    rechargeable: yes
    state: discharging
    energy: 4.25 Wh
    energy-empty: 0 Wh
    energy-full: 5.989 Wh
    energy-full-design: 6.271 Wh
    energy-rate: 1.359 W
    voltage: 11.298 V
    time to empty: 3.1 hours
    percentage: 70.9634%
    capacity: 95.5031%
    technology: lithium-ion
  History (charge):
    1380874122 70.963 discharging
    1380874092 71.214 discharging
    1380874062 71.431 discharging
  History (rate):
    1380874122 1.359 discharging
    1380874092 1.187 discharging
    1380874062 1.477 discharging

Daemon:
  daemon-version: 0.9.20
  can-suspend: yes
  can-hibernate: no
  on-battery: yes
  on-low-battery: no
  lid-is-closed: no
  lid-is-present: yes
  is-docked: no