Bug 340964 - System misreporting battery status and won't hibernate at 5% default battery value
Summary: System misreporting battery status and won't hibernate at 5% default battery ...
Status: RESOLVED WORKSFORME
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 5.1.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Development Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-14 17:56 UTC by Sudhir Khanger
Modified: 2015-01-28 15:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
upower -d and battery monitor screenshot showing battery time disparity (148.79 KB, image/png)
2014-11-14 18:04 UTC, Sudhir Khanger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sudhir Khanger 2014-11-14 17:56:02 UTC
1. System is suppose to hibernate at 5%. Currently battery level is going down below 5% and then system would flicker and shutdown.

2. Battery status is being misreported. When discharging it tell time to discharge 1:52:25 and when charging it tells 1:52:25. As far as I can correct battery percentage is being reported. See the screenshot http://imgur.com/UqRcyCl and http://i.imgur.com/D7Yj6wA.png

Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path:          BAT0
  vendor:               SANYO
  model:                42T4799
  serial:               14409
  power supply:         yes
  updated:              Fri 14 Nov 2014 11:21:33 PM IST (78 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    warning-level:       none
    energy:              4.65 Wh
    energy-empty:        0 Wh
    energy-full:         34.17 Wh
    energy-full-design:  93.24 Wh
    energy-rate:         27.167 W
    voltage:             11.71 V
    time to full:        1.1 hours
    percentage:          13%
    capacity:            36.6474%
    technology:          lithium-ion
    icon-name:          'battery-low-charging-symbolic'
  History (charge):
    1415987493  13.000  charging
  History (rate):
    1415987493  27.167  charging



Reproducible: Always

Steps to Reproduce:
1. check battery monitor and upower -d values while charging and discharging
2.
3.

Actual Results:  
Battery level goes below 5% and system shuts down.
Misreporting battery level

Expected Results:  
System should hibernate at value set in system settings. Should report accurate battery level.

Fedora 21 Plasma 5.1.x
Comment 1 Sudhir Khanger 2014-11-14 18:04:31 UTC
Created attachment 89585 [details]
upower -d and battery monitor screenshot showing battery time disparity
Comment 2 Sudhir Khanger 2014-11-28 17:12:29 UTC
Some folks have reported similar problems in 4.14.1. It could be related.

https://bugs.kde.org/show_bug.cgi?id=338406
Comment 3 Kai Uwe Broulik 2014-12-16 21:01:20 UTC
Can you reproduce the issue with the just released PowerDevil 5.1.2? There have been fixes to the upower backend not properly updating batery status on newer upower versions (that is the remaining time issue you saw, potentially didn't update percentage either). Thanks!
Comment 4 Sudhir Khanger 2015-01-28 15:32:46 UTC
I am no longer able to replicate it with powerdevil-5.2.0