Bug 66661 - UPowerd tells me wrong battery status after some uptime
Summary: UPowerd tells me wrong battery status after some uptime
Status: RESOLVED DUPLICATE of bug 60214
Alias: None
Product: upower
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-07 10:43 UTC by Mike Krutov
Modified: 2014-05-17 07:54 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Mike Krutov 2013-07-07 10:43:57 UTC
Steps to reproduce:
1) Get yourself an Asus laptop
2) Install linux there
3) Set up batter widget with upowerd as backend
4) Have > 3 days (aprox) uptime
Expected results:
upowerd shows valid battery info
real results:
upowerd shows 31% and that never changes.

In the meantime, acpi -V shows valid battery info (98%, charged).

What logs & so on should I provide for you to investigate this bug?
Comment 1 Mike Krutov 2013-07-07 10:46:08 UTC
upower version: 0.9.19
acpi version: 1.6

acpi -V:


Battery 0: Unknown, 98%
Battery 0: design capacity 4927 mAh, last full capacity 4723 mAh = 95%
Adapter 0: on-line
Thermal 0: ok, 48.0 degrees C
Thermal 0: trip point 0 switches to mode critical at temperature 108.0 degrees C
Thermal 0: trip point 1 switches to mode passive at temperature 110.0 degrees C
Cooling 0: Processor 0 of 3
Cooling 1: Processor 0 of 3
Cooling 2: Processor 0 of 3
Cooling 3: Processor 0 of 3
Cooling 4: LCD 0 of 100


upower -d:
                                                                                                                                                     
Device: /org/freedesktop/UPower/devices/line_power_AC0
  native-path:          /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/ACPI0003:00/power_supply/AC0
  power supply:         yes
  updated:              Sun Jul  7 14:10:57 2013 (2081 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    online:             yes

Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path:          /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/PNP0C0A:00/power_supply/BAT0
  vendor:               ASUSTeK
  model:                U36--56
  power supply:         yes
  updated:              Sun Jul  7 14:45:33 2013 (5 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    energy:              78.945 Wh
    energy-empty:        0 Wh
    energy-full:         256.125 Wh
    energy-full-design:  84 Wh
    energy-rate:         13.62 W
    voltage:             17.046 V
    time to full:        13.0 hours
    percentage:          30.8228%
    capacity:            95.8571%
    technology:          lithium-ion

Daemon:
  daemon-version:  0.9.19
  can-suspend:     yes
  can-hibernate:   yes
  on-battery:      no
  on-low-battery:  no
  lid-is-closed:   no
  lid-is-present:  yes
  is-docked:       no
Comment 2 main.haarp 2013-10-09 12:56:02 UTC
    energy-full:         256.125 Wh

looks like a dupe of bug 60214
Comment 3 Bastien Nocera 2013-10-12 22:29:08 UTC
Indeed, closing as a duplicate.

*** This bug has been marked as a duplicate of bug 60214 ***
Comment 4 Mike Krutov 2014-05-17 07:52:38 UTC
Bastien, Main
I don't think this is a duplicate, cause there people tell about other situation. For me, on Asuses upower reports 1/2 of battery after some uptime. There, ppl tell that upower reports x*10 status of battery. 
Sorry for long-time pause.
Comment 5 Mike Krutov 2014-05-17 07:54:44 UTC

*** This bug has been marked as a duplicate of bug 60214 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.