[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2014-06-27 Thread atterdag
I have the same finding as Sergey, and I'm tried both the nvidia driver
from nvidia-311, and nvidia-311-updates

$ upower --dump
Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path:  BAT0
  vendor:   Panasonic
  model:42T4801
  serial:   1495
  power supply: yes
  updated:  fre 27 jun 2014 08:59:18 (5 seconds ago)
  has history:  yes
  has statistics:   yes
  battery
present: yes
rechargeable:yes
state:   charging
energy:  78,43 Wh
energy-empty:0 Wh
energy-full: 81,17 Wh
energy-full-design:  84,24 Wh
energy-rate: 11,605 W
voltage: 12,268 V
time to full:14,1 minutes
percentage:  96%
capacity:96,3557%
technology:  lithium-ion
  History (rate):
1403852358  11,605  charging
1403852328  12,460  charging
1403852298  12,456  charging
1403852268  12,672  charging

Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path:  AC
  power supply: yes
  updated:  fre 27 jun 2014 08:41:42 (1061 seconds ago)
  has history:  no
  has statistics:   no
  line-power
online: yes

Device: /org/freedesktop/UPower/devices/mouse_hid_00o02o76o34oafoe3_battery
  native-path:  hid-00:02:76:34:af:e3-battery
  model:ThinkPad Bluetooth Laser Mouse
  power supply: no
  updated:  fre 27 jun 2014 08:58:55 (28 seconds ago)
  has history:  yes
  has statistics:   yes
  mouse
present: yes
rechargeable:yes
state:   discharging
percentage:  0%

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

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Fix Released
Status in “upower” source package in Saucy:
  Fix Released
Status in “upower” source package in Trusty:
  Fix Released

Bug description:
  SRU INFORMATION:
  Explanation: This bug was introduced with 
http://cgit.freedesktop.org/upower/commit/?id=07b95b8e which preferred the 
kernel's reported percentage ("capacity" sysfs attribute") over calculating it 
from energy/charge. This exposed some buggy batteries/drivers which sometimes 
report > 100% charge. As the GObject "percentage" property is defined to be 
between 0 and 100, trying to set a value > 100% resulted in a warning and 
defaulting to 0%.

  Fix: http://cgit.freedesktop.org/upower/commit/?id=22da1a0bc ; this
  clamping already happens at several other points in the code.

  Regression potential: Very low. The code change only applies to the
  explicit cases of < 0% and > 100%, and these values could have never
  actually appeared in practice as setting the property to these values
  fails. It has a test case, and the other test cases prove that this
  change did not break other configurations. In the worst case (compiler
  bugs etc.) this update could cause currently working battery
  information to be wrong, but upower is mostly an informational service
  these days and thus won't have the ability to completely break the
  system.

  ORIGINAL BUG:

  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
    native-path:  AC
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
    has history:  no
    has statistics:   no
    line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
    native-path:  BAT0
    vendor:   SMP
    model:DELL Y61CV22
    serial:   3840
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
    native-path:  BAT2
    vendor:   Samsung SDI
    model:DELL W1GGM26
    serial:   12515
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (

[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2014-05-10 Thread Sergey Sukiyazov
Another note:
The issue appears when I activate nvidia driver - nvidia-331.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Fix Released
Status in “upower” source package in Saucy:
  Fix Released
Status in “upower” source package in Trusty:
  Fix Released

Bug description:
  SRU INFORMATION:
  Explanation: This bug was introduced with 
http://cgit.freedesktop.org/upower/commit/?id=07b95b8e which preferred the 
kernel's reported percentage ("capacity" sysfs attribute") over calculating it 
from energy/charge. This exposed some buggy batteries/drivers which sometimes 
report > 100% charge. As the GObject "percentage" property is defined to be 
between 0 and 100, trying to set a value > 100% resulted in a warning and 
defaulting to 0%.

  Fix: http://cgit.freedesktop.org/upower/commit/?id=22da1a0bc ; this
  clamping already happens at several other points in the code.

  Regression potential: Very low. The code change only applies to the
  explicit cases of < 0% and > 100%, and these values could have never
  actually appeared in practice as setting the property to these values
  fails. It has a test case, and the other test cases prove that this
  change did not break other configurations. In the worst case (compiler
  bugs etc.) this update could cause currently working battery
  information to be wrong, but upower is mostly an informational service
  these days and thus won't have the ability to completely break the
  system.

  ORIGINAL BUG:

  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
    native-path:  AC
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
    has history:  no
    has statistics:   no
    line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
    native-path:  BAT0
    vendor:   SMP
    model:DELL Y61CV22
    serial:   3840
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
    native-path:  BAT2
    vendor:   Samsung SDI
    model:DELL W1GGM26
    serial:   12515
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
    daemon-version:  0.9.22
    can-suspend: yes
    can-hibernate:   no
    on-battery:  no
    on-low-battery:  no
    lid-is-closed:   no
    lid-is-present:  yes
    is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1240673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2014-05-10 Thread Sergey Sukiyazov
Note for my last comment:

The system detects battery without any problems and  battery indicator
works fine in KDE when I boot from Kubuntu 14.04 installation DVD. The
battery indicator works fine after I install Kubuntu 14.04 to hard disk,
but stop work after I did 'dist-upgrade' on installed system.

I hope this info helps to fix the bug.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Fix Released
Status in “upower” source package in Saucy:
  Fix Released
Status in “upower” source package in Trusty:
  Fix Released

Bug description:
  SRU INFORMATION:
  Explanation: This bug was introduced with 
http://cgit.freedesktop.org/upower/commit/?id=07b95b8e which preferred the 
kernel's reported percentage ("capacity" sysfs attribute") over calculating it 
from energy/charge. This exposed some buggy batteries/drivers which sometimes 
report > 100% charge. As the GObject "percentage" property is defined to be 
between 0 and 100, trying to set a value > 100% resulted in a warning and 
defaulting to 0%.

  Fix: http://cgit.freedesktop.org/upower/commit/?id=22da1a0bc ; this
  clamping already happens at several other points in the code.

  Regression potential: Very low. The code change only applies to the
  explicit cases of < 0% and > 100%, and these values could have never
  actually appeared in practice as setting the property to these values
  fails. It has a test case, and the other test cases prove that this
  change did not break other configurations. In the worst case (compiler
  bugs etc.) this update could cause currently working battery
  information to be wrong, but upower is mostly an informational service
  these days and thus won't have the ability to completely break the
  system.

  ORIGINAL BUG:

  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
    native-path:  AC
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
    has history:  no
    has statistics:   no
    line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
    native-path:  BAT0
    vendor:   SMP
    model:DELL Y61CV22
    serial:   3840
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
    native-path:  BAT2
    vendor:   Samsung SDI
    model:DELL W1GGM26
    serial:   12515
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
    daemon-version:  0.9.22
    can-suspend: yes
    can-hibernate:   no
    on-battery:  no
    on-low-battery:  no
    lid-is-closed:   no
    lid-is-present:  yes
    is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1240673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~deskto

[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2014-05-09 Thread Sergey Sukiyazov
Hi!
I have same problem on my Dell Inspiron 7737 notebook with Ubuntu 14.04.

the output of upower --dump is:

-
corwin@corwin-Inspiron-7737:~$ LANG=C upower --dump
Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path:  AC
  power supply: yes
  updated:  Fri May  9 14:41:51 2014 (553 seconds ago)
  has history:  no
  has statistics:   no
  line-power
online: no

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

After I unplug/plug power supply the output of  upower --dump is:

-
corwin@corwin-Inspiron-7737:~$ LANG=C upower --dump
Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path:  AC
  power supply: yes
  updated:  Fri May  9 14:51:28 2014 (8 seconds ago)
  has history:  no
  has statistics:   no
  line-power
online: yes

Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path:  BAT0
  vendor:   SANYO
  model:DELL Y1FGD41
  serial:   1001
  power supply: yes
  updated:  Fri May  9 14:51:32 2014 (4 seconds ago)
  has history:  yes
  has statistics:   yes
  battery
present: yes
rechargeable:yes
state:   fully-charged
energy:  60.192 Wh
energy-empty:0 Wh
energy-full: 60.192 Wh
energy-full-design:  60.192 Wh
energy-rate: 0.0144 W
voltage: 16.541 V
percentage:  100%
capacity:100%
technology:  lithium-ion
  History (charge):
1399632689  100.000 fully-charged
1399632686  97.000  discharging
1399632686  0.000   unknown
  History (rate):
1399632689  0.014   fully-charged
1399632687  17.424  discharging
1399632686  0.014   discharging
1399632686  0.000   unknown

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


-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Fix Released
Status in “upower” source package in Saucy:
  Fix Released
Status in “upower” source package in Trusty:
  Fix Released

Bug description:
  SRU INFORMATION:
  Explanation: This bug was introduced with 
http://cgit.freedesktop.org/upower/commit/?id=07b95b8e which preferred the 
kernel's reported percentage ("capacity" sysfs attribute") over calculating it 
from energy/charge. This exposed some buggy batteries/drivers which sometimes 
report > 100% charge. As the GObject "percentage" property is defined to be 
between 0 and 100, trying to set a value > 100% resulted in a warning and 
defaulting to 0%.

  Fix: http://cgit.freedesktop.org/upower/commit/?id=22da1a0bc ; this
  clamping already happens at several other points in the code.

  Regression potential: Very low. The code change only applies to the
  explicit cases of < 0% and > 100%, and these values could have never
  actually appeared in practice as setting the property to these values
  fails. It has a test case, and the other test cases prove that this
  change did not break other configurations. In the worst case (compiler
  bugs etc.) this update could cause currently working battery
  information to be wrong, but upower is mostly an informational service
  these days and thus won't have the ability to completely break the
  system.

  ORIGINAL BUG:

  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
    native-path:  AC
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
    has history:  no
    has statistics:   no
    line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
    native-path:  BAT0
    vendor:   SMP
    model:DELL Y61CV22
    serial:   3840
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-ch

[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-28 Thread Launchpad Bug Tracker
This bug was fixed in the package upower - 0.9.22-1ubuntu2

---
upower (0.9.22-1ubuntu2) saucy-proposed; urgency=low

  * Add 00git_clamp_percentage.patch: Clamp percentage for overfull batteries,
to avoid showing 0% on some fully charged battery models. Fixes regression
from 0.9.22. (LP: #1240673)
 -- Martin PittWed, 23 Oct 2013 08:41:01 +0200

** Changed in: upower (Ubuntu Saucy)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Fix Released
Status in “upower” source package in Saucy:
  Fix Released
Status in “upower” source package in Trusty:
  Fix Released

Bug description:
  SRU INFORMATION:
  Explanation: This bug was introduced with 
http://cgit.freedesktop.org/upower/commit/?id=07b95b8e which preferred the 
kernel's reported percentage ("capacity" sysfs attribute") over calculating it 
from energy/charge. This exposed some buggy batteries/drivers which sometimes 
report > 100% charge. As the GObject "percentage" property is defined to be 
between 0 and 100, trying to set a value > 100% resulted in a warning and 
defaulting to 0%.

  Fix: http://cgit.freedesktop.org/upower/commit/?id=22da1a0bc ; this
  clamping already happens at several other points in the code.

  Regression potential: Very low. The code change only applies to the
  explicit cases of < 0% and > 100%, and these values could have never
  actually appeared in practice as setting the property to these values
  fails. It has a test case, and the other test cases prove that this
  change did not break other configurations. In the worst case (compiler
  bugs etc.) this update could cause currently working battery
  information to be wrong, but upower is mostly an informational service
  these days and thus won't have the ability to completely break the
  system.

  ORIGINAL BUG:

  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
    native-path:  AC
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
    has history:  no
    has statistics:   no
    line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
    native-path:  BAT0
    vendor:   SMP
    model:DELL Y61CV22
    serial:   3840
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
    native-path:  BAT2
    vendor:   Samsung SDI
    model:DELL W1GGM26
    serial:   12515
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
    daemon-version:  0.9.22
    can-suspend: yes
    can-hibernate:   no
    on-battery:  no
    on-low-battery:  no
    lid-is-closed:   no
    lid-is-present:  yes
    is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1240673/+subscriptions

-- 
Mailing list: https://launchpad.net/~d

[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-25 Thread Hervé Fache
I installed
http://ru.archive.ubuntu.com/ubuntu/pool/main/u/upower/upower_0.9.23-2_amd64.deb
and in a few seconds my battery went from empty to fully charged. The
shortest charging time ever ;-)

Dell Latitude E6530

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Fix Released
Status in “upower” source package in Saucy:
  Fix Committed
Status in “upower” source package in Trusty:
  Fix Released

Bug description:
  SRU INFORMATION:
  Explanation: This bug was introduced with 
http://cgit.freedesktop.org/upower/commit/?id=07b95b8e which preferred the 
kernel's reported percentage ("capacity" sysfs attribute") over calculating it 
from energy/charge. This exposed some buggy batteries/drivers which sometimes 
report > 100% charge. As the GObject "percentage" property is defined to be 
between 0 and 100, trying to set a value > 100% resulted in a warning and 
defaulting to 0%.

  Fix: http://cgit.freedesktop.org/upower/commit/?id=22da1a0bc ; this
  clamping already happens at several other points in the code.

  Regression potential: Very low. The code change only applies to the
  explicit cases of < 0% and > 100%, and these values could have never
  actually appeared in practice as setting the property to these values
  fails. It has a test case, and the other test cases prove that this
  change did not break other configurations. In the worst case (compiler
  bugs etc.) this update could cause currently working battery
  information to be wrong, but upower is mostly an informational service
  these days and thus won't have the ability to completely break the
  system.

  ORIGINAL BUG:

  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
    native-path:  AC
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
    has history:  no
    has statistics:   no
    line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
    native-path:  BAT0
    vendor:   SMP
    model:DELL Y61CV22
    serial:   3840
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
    native-path:  BAT2
    vendor:   Samsung SDI
    model:DELL W1GGM26
    serial:   12515
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
    daemon-version:  0.9.22
    can-suspend: yes
    can-hibernate:   no
    on-battery:  no
    on-low-battery:  no
    lid-is-closed:   no
    lid-is-present:  yes
    is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1240673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-23 Thread Martin Stockhammer
Fixed on Dell Latitude E6520
Thank you.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Fix Released
Status in “upower” source package in Saucy:
  Fix Committed
Status in “upower” source package in Trusty:
  Fix Released

Bug description:
  SRU INFORMATION:
  Explanation: This bug was introduced with 
http://cgit.freedesktop.org/upower/commit/?id=07b95b8e which preferred the 
kernel's reported percentage ("capacity" sysfs attribute") over calculating it 
from energy/charge. This exposed some buggy batteries/drivers which sometimes 
report > 100% charge. As the GObject "percentage" property is defined to be 
between 0 and 100, trying to set a value > 100% resulted in a warning and 
defaulting to 0%.

  Fix: http://cgit.freedesktop.org/upower/commit/?id=22da1a0bc ; this
  clamping already happens at several other points in the code.

  Regression potential: Very low. The code change only applies to the
  explicit cases of < 0% and > 100%, and these values could have never
  actually appeared in practice as setting the property to these values
  fails. It has a test case, and the other test cases prove that this
  change did not break other configurations. In the worst case (compiler
  bugs etc.) this update could cause currently working battery
  information to be wrong, but upower is mostly an informational service
  these days and thus won't have the ability to completely break the
  system.

  ORIGINAL BUG:

  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
    native-path:  AC
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
    has history:  no
    has statistics:   no
    line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
    native-path:  BAT0
    vendor:   SMP
    model:DELL Y61CV22
    serial:   3840
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
    native-path:  BAT2
    vendor:   Samsung SDI
    model:DELL W1GGM26
    serial:   12515
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
    daemon-version:  0.9.22
    can-suspend: yes
    can-hibernate:   no
    on-battery:  no
    on-low-battery:  no
    lid-is-closed:   no
    lid-is-present:  yes
    is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1240673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-23 Thread Launchpad Bug Tracker
** Branch linked: lp:debian/upower

** Branch linked: lp:ubuntu/upower

** Branch linked: lp:ubuntu/saucy-proposed/upower

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Fix Released
Status in “upower” source package in Saucy:
  Fix Committed
Status in “upower” source package in Trusty:
  Fix Released

Bug description:
  SRU INFORMATION:
  Explanation: This bug was introduced with 
http://cgit.freedesktop.org/upower/commit/?id=07b95b8e which preferred the 
kernel's reported percentage ("capacity" sysfs attribute") over calculating it 
from energy/charge. This exposed some buggy batteries/drivers which sometimes 
report > 100% charge. As the GObject "percentage" property is defined to be 
between 0 and 100, trying to set a value > 100% resulted in a warning and 
defaulting to 0%.

  Fix: http://cgit.freedesktop.org/upower/commit/?id=22da1a0bc ; this
  clamping already happens at several other points in the code.

  Regression potential: Very low. The code change only applies to the
  explicit cases of < 0% and > 100%, and these values could have never
  actually appeared in practice as setting the property to these values
  fails. It has a test case, and the other test cases prove that this
  change did not break other configurations. In the worst case (compiler
  bugs etc.) this update could cause currently working battery
  information to be wrong, but upower is mostly an informational service
  these days and thus won't have the ability to completely break the
  system.

  ORIGINAL BUG:

  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
    native-path:  AC
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
    has history:  no
    has statistics:   no
    line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
    native-path:  BAT0
    vendor:   SMP
    model:DELL Y61CV22
    serial:   3840
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
    native-path:  BAT2
    vendor:   Samsung SDI
    model:DELL W1GGM26
    serial:   12515
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
    daemon-version:  0.9.22
    can-suspend: yes
    can-hibernate:   no
    on-battery:  no
    on-low-battery:  no
    lid-is-closed:   no
    lid-is-present:  yes
    is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1240673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-23 Thread George
Fixed on Dell N5010. 
Thank you.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Fix Released
Status in “upower” source package in Saucy:
  Fix Committed
Status in “upower” source package in Trusty:
  Fix Released

Bug description:
  SRU INFORMATION:
  Explanation: This bug was introduced with 
http://cgit.freedesktop.org/upower/commit/?id=07b95b8e which preferred the 
kernel's reported percentage ("capacity" sysfs attribute") over calculating it 
from energy/charge. This exposed some buggy batteries/drivers which sometimes 
report > 100% charge. As the GObject "percentage" property is defined to be 
between 0 and 100, trying to set a value > 100% resulted in a warning and 
defaulting to 0%.

  Fix: http://cgit.freedesktop.org/upower/commit/?id=22da1a0bc ; this
  clamping already happens at several other points in the code.

  Regression potential: Very low. The code change only applies to the
  explicit cases of < 0% and > 100%, and these values could have never
  actually appeared in practice as setting the property to these values
  fails. It has a test case, and the other test cases prove that this
  change did not break other configurations. In the worst case (compiler
  bugs etc.) this update could cause currently working battery
  information to be wrong, but upower is mostly an informational service
  these days and thus won't have the ability to completely break the
  system.

  ORIGINAL BUG:

  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
    native-path:  AC
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
    has history:  no
    has statistics:   no
    line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
    native-path:  BAT0
    vendor:   SMP
    model:DELL Y61CV22
    serial:   3840
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
    native-path:  BAT2
    vendor:   Samsung SDI
    model:DELL W1GGM26
    serial:   12515
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
    daemon-version:  0.9.22
    can-suspend: yes
    can-hibernate:   no
    on-battery:  no
    on-low-battery:  no
    lid-is-closed:   no
    lid-is-present:  yes
    is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1240673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-23 Thread costavi
Ok, I installed the new upower package, and it works on my Dell Latitude
E5530, now the battery applet shows 100% on full charge.

Here is the output of:

upower --dump

Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path:  AC
  power supply: yes
  updated:  mer 23 ott 2013 21:17:09 CEST (117 seconds ago)
  has history:  no
  has statistics:   no
  line-power
online: yes

Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path:  BAT0
  vendor:   Sanyo
  model:DELL NH6K933
  serial:   1108
  power supply: yes
  updated:  mer 23 ott 2013 21:17:15 CEST (111 seconds ago)
  has history:  yes
  has statistics:   yes
  battery
present: yes
rechargeable:yes
state:   fully-charged
energy:  62,16 Wh
energy-empty:0 Wh
energy-full: 62,16 Wh
energy-full-design:  62,16 Wh
energy-rate: 0,0111 W
voltage: 12,431 V
percentage:  100%
capacity:87,8036%
technology:  lithium-ion

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

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Fix Released
Status in “upower” source package in Saucy:
  Fix Committed
Status in “upower” source package in Trusty:
  Fix Released

Bug description:
  SRU INFORMATION:
  Explanation: This bug was introduced with 
http://cgit.freedesktop.org/upower/commit/?id=07b95b8e which preferred the 
kernel's reported percentage ("capacity" sysfs attribute") over calculating it 
from energy/charge. This exposed some buggy batteries/drivers which sometimes 
report > 100% charge. As the GObject "percentage" property is defined to be 
between 0 and 100, trying to set a value > 100% resulted in a warning and 
defaulting to 0%.

  Fix: http://cgit.freedesktop.org/upower/commit/?id=22da1a0bc ; this
  clamping already happens at several other points in the code.

  Regression potential: Very low. The code change only applies to the
  explicit cases of < 0% and > 100%, and these values could have never
  actually appeared in practice as setting the property to these values
  fails. It has a test case, and the other test cases prove that this
  change did not break other configurations. In the worst case (compiler
  bugs etc.) this update could cause currently working battery
  information to be wrong, but upower is mostly an informational service
  these days and thus won't have the ability to completely break the
  system.

  ORIGINAL BUG:

  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
    native-path:  AC
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
    has history:  no
    has statistics:   no
    line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
    native-path:  BAT0
    vendor:   SMP
    model:DELL Y61CV22
    serial:   3840
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
    native-path:  BAT2
    vendor:   Samsung SDI
    model:DELL W1GGM26
    serial:   12515
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This 

Re: [Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-23 Thread Martin Pitt
costavi [2013-10-23 15:20 -]:
> is the fixed pachage already available in the 'proposed' repository?

Yes, it is:

upower | 0.9.22-1ubuntu1 | saucy | source, amd64, arm64, armhf, 
i386, powerpc
upower | 0.9.22-1ubuntu2 | saucy-proposed | source, amd64, arm64, armhf, 
i386, powerpc

> I don't see a 'upower' package.

It might be that your mirror is slightly behind?

> Besides, should I cast a 'sudo apt-get > upgrade' or just a 'sudo apt-get
> install upower'?

The latter is enough to verify only this bug.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Fix Released
Status in “upower” source package in Saucy:
  Fix Committed
Status in “upower” source package in Trusty:
  Fix Released

Bug description:
  SRU INFORMATION:
  Explanation: This bug was introduced with 
http://cgit.freedesktop.org/upower/commit/?id=07b95b8e which preferred the 
kernel's reported percentage ("capacity" sysfs attribute") over calculating it 
from energy/charge. This exposed some buggy batteries/drivers which sometimes 
report > 100% charge. As the GObject "percentage" property is defined to be 
between 0 and 100, trying to set a value > 100% resulted in a warning and 
defaulting to 0%.

  Fix: http://cgit.freedesktop.org/upower/commit/?id=22da1a0bc ; this
  clamping already happens at several other points in the code.

  Regression potential: Very low. The code change only applies to the
  explicit cases of < 0% and > 100%, and these values could have never
  actually appeared in practice as setting the property to these values
  fails. It has a test case, and the other test cases prove that this
  change did not break other configurations. In the worst case (compiler
  bugs etc.) this update could cause currently working battery
  information to be wrong, but upower is mostly an informational service
  these days and thus won't have the ability to completely break the
  system.

  ORIGINAL BUG:

  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
    native-path:  AC
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
    has history:  no
    has statistics:   no
    line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
    native-path:  BAT0
    vendor:   SMP
    model:DELL Y61CV22
    serial:   3840
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
    native-path:  BAT2
    vendor:   Samsung SDI
    model:DELL W1GGM26
    serial:   12515
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
    daemon-version:  0.9.22
    can-suspend: yes
    can-hibernate:   no
    on-battery:  no
    on-low-battery:  no
    lid-is-closed:   no
    lid-is-present:  yes
    is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/u

[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-23 Thread costavi
I would like to test the new package, but

is the fixed pachage already available in the 'proposed' repository?
Because, once added the 'proposed' repository I receive the following
update proposals:

glib-networking glib-networking-common glib-networking-services kubuntu-docs 
libglib2.0-0
  libglib2.0-0:i386 libglib2.0-bin libglib2.0-data libindicator3-7 plasma-nm
  plasma-widget-networkmanagement python3-software-properties 
software-properties-common
  software-properties-kde

I don't see a 'upower' package. Besides, should I cast a 'sudo apt-get
upgrade' or just a 'sudo apt-get install upower'?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Fix Released
Status in “upower” source package in Saucy:
  Fix Committed
Status in “upower” source package in Trusty:
  Fix Released

Bug description:
  SRU INFORMATION:
  Explanation: This bug was introduced with 
http://cgit.freedesktop.org/upower/commit/?id=07b95b8e which preferred the 
kernel's reported percentage ("capacity" sysfs attribute") over calculating it 
from energy/charge. This exposed some buggy batteries/drivers which sometimes 
report > 100% charge. As the GObject "percentage" property is defined to be 
between 0 and 100, trying to set a value > 100% resulted in a warning and 
defaulting to 0%.

  Fix: http://cgit.freedesktop.org/upower/commit/?id=22da1a0bc ; this
  clamping already happens at several other points in the code.

  Regression potential: Very low. The code change only applies to the
  explicit cases of < 0% and > 100%, and these values could have never
  actually appeared in practice as setting the property to these values
  fails. It has a test case, and the other test cases prove that this
  change did not break other configurations. In the worst case (compiler
  bugs etc.) this update could cause currently working battery
  information to be wrong, but upower is mostly an informational service
  these days and thus won't have the ability to completely break the
  system.

  ORIGINAL BUG:

  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
    native-path:  AC
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
    has history:  no
    has statistics:   no
    line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
    native-path:  BAT0
    vendor:   SMP
    model:DELL Y61CV22
    serial:   3840
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
    native-path:  BAT2
    vendor:   Samsung SDI
    model:DELL W1GGM26
    serial:   12515
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
    daemon-version:  0.9.22
    can-suspend: yes
    can-hibernate:   no
    on-battery:  no
    on-low-battery:  no
    lid-is-closed:   no
    lid-is-present:  yes
    is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage no

[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-23 Thread Scott Kitterman
Installed the updated package and it now works as expected.

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Fix Released
Status in “upower” source package in Saucy:
  Fix Committed
Status in “upower” source package in Trusty:
  Fix Released

Bug description:
  SRU INFORMATION:
  Explanation: This bug was introduced with 
http://cgit.freedesktop.org/upower/commit/?id=07b95b8e which preferred the 
kernel's reported percentage ("capacity" sysfs attribute") over calculating it 
from energy/charge. This exposed some buggy batteries/drivers which sometimes 
report > 100% charge. As the GObject "percentage" property is defined to be 
between 0 and 100, trying to set a value > 100% resulted in a warning and 
defaulting to 0%.

  Fix: http://cgit.freedesktop.org/upower/commit/?id=22da1a0bc ; this
  clamping already happens at several other points in the code.

  Regression potential: Very low. The code change only applies to the
  explicit cases of < 0% and > 100%, and these values could have never
  actually appeared in practice as setting the property to these values
  fails. It has a test case, and the other test cases prove that this
  change did not break other configurations. In the worst case (compiler
  bugs etc.) this update could cause currently working battery
  information to be wrong, but upower is mostly an informational service
  these days and thus won't have the ability to completely break the
  system.

  ORIGINAL BUG:

  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
    native-path:  AC
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
    has history:  no
    has statistics:   no
    line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
    native-path:  BAT0
    vendor:   SMP
    model:DELL Y61CV22
    serial:   3840
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
    native-path:  BAT2
    vendor:   Samsung SDI
    model:DELL W1GGM26
    serial:   12515
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
    daemon-version:  0.9.22
    can-suspend: yes
    can-hibernate:   no
    on-battery:  no
    on-low-battery:  no
    lid-is-closed:   no
    lid-is-present:  yes
    is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1240673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-23 Thread Launchpad Bug Tracker
This bug was fixed in the package upower - 0.9.23-2

---
upower (0.9.23-2) unstable; urgency=low


  * Drop hardcoded binary glib dependency, it's already being generated
automatically from the versioned build depends.
  * Add 00git_clamp_percentage.patch: Clamp percentage for overfull batteries,
to avoid showing 0% on some fully charged battery models. Fixes regression
from 0.9.22. (LP: #1240673)

 -- Martin Pitt   Wed, 23 Oct 2013 08:31:44 +0200

** Changed in: upower (Ubuntu Trusty)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Fix Released
Status in “upower” source package in Saucy:
  Fix Committed
Status in “upower” source package in Trusty:
  Fix Released

Bug description:
  SRU INFORMATION:
  Explanation: This bug was introduced with 
http://cgit.freedesktop.org/upower/commit/?id=07b95b8e which preferred the 
kernel's reported percentage ("capacity" sysfs attribute") over calculating it 
from energy/charge. This exposed some buggy batteries/drivers which sometimes 
report > 100% charge. As the GObject "percentage" property is defined to be 
between 0 and 100, trying to set a value > 100% resulted in a warning and 
defaulting to 0%.

  Fix: http://cgit.freedesktop.org/upower/commit/?id=22da1a0bc ; this
  clamping already happens at several other points in the code.

  Regression potential: Very low. The code change only applies to the
  explicit cases of < 0% and > 100%, and these values could have never
  actually appeared in practice as setting the property to these values
  fails. It has a test case, and the other test cases prove that this
  change did not break other configurations. In the worst case (compiler
  bugs etc.) this update could cause currently working battery
  information to be wrong, but upower is mostly an informational service
  these days and thus won't have the ability to completely break the
  system.

  ORIGINAL BUG:

  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
    native-path:  AC
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
    has history:  no
    has statistics:   no
    line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
    native-path:  BAT0
    vendor:   SMP
    model:DELL Y61CV22
    serial:   3840
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
    native-path:  BAT2
    vendor:   Samsung SDI
    model:DELL W1GGM26
    serial:   12515
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
    daemon-version:  0.9.22
    can-suspend: yes
    can-hibernate:   no
    on-battery:  no
    on-low-battery:  no
    lid-is-closed:   no
    lid-is-present:  yes
    is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.

[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-23 Thread Scott Kitterman
Hello Scott, or anyone else affected,

Accepted into saucy-proposed. The package will build now and be
available in a few hours in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: upower (Ubuntu Saucy)
   Status: In Progress => Fix Committed

** Tags added: verification-needed

** Changed in: upower (Ubuntu Saucy)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Fix Committed
Status in “upower” source package in Saucy:
  Fix Committed
Status in “upower” source package in Trusty:
  Fix Committed

Bug description:
  SRU INFORMATION:
  Explanation: This bug was introduced with 
http://cgit.freedesktop.org/upower/commit/?id=07b95b8e which preferred the 
kernel's reported percentage ("capacity" sysfs attribute") over calculating it 
from energy/charge. This exposed some buggy batteries/drivers which sometimes 
report > 100% charge. As the GObject "percentage" property is defined to be 
between 0 and 100, trying to set a value > 100% resulted in a warning and 
defaulting to 0%.

  Fix: http://cgit.freedesktop.org/upower/commit/?id=22da1a0bc ; this
  clamping already happens at several other points in the code.

  Regression potential: Very low. The code change only applies to the
  explicit cases of < 0% and > 100%, and these values could have never
  actually appeared in practice as setting the property to these values
  fails. It has a test case, and the other test cases prove that this
  change did not break other configurations. In the worst case (compiler
  bugs etc.) this update could cause currently working battery
  information to be wrong, but upower is mostly an informational service
  these days and thus won't have the ability to completely break the
  system.

  ORIGINAL BUG:

  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
    native-path:  AC
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
    has history:  no
    has statistics:   no
    line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
    native-path:  BAT0
    vendor:   SMP
    model:DELL Y61CV22
    serial:   3840
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
    native-path:  BAT2
    vendor:   Samsung SDI
    model:DELL W1GGM26
    serial:   12515
    power supply: yes
    updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:  yes
    has statistics:   yes
    battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
    daemon-version:  0.9.22
    can-suspend: yes
    can-hibernate:   no
    on-battery:  no
    on-low-battery:  no
    lid-is-closed:   no
    lid-is-present:  yes
    is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 

[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-22 Thread Martin Pitt
Saucy SRU uploaded.

** Description changed:

+ SRU INFORMATION:
+ Explanation: This bug was introduced with 
http://cgit.freedesktop.org/upower/commit/?id=07b95b8e which preferred the 
kernel's reported percentage ("capacity" sysfs attribute") over calculating it 
from energy/charge. This exposed some buggy batteries/drivers which sometimes 
report > 100% charge. As the GObject "percentage" property is defined to be 
between 0 and 100, trying to set a value > 100% resulted in a warning and 
defaulting to 0%.
+ 
+ Fix: http://cgit.freedesktop.org/upower/commit/?id=22da1a0bc ; this
+ clamping already happens at several other points in the code.
+ 
+ Regression potential: Very low. The code change only applies to the
+ explicit cases of < 0% and > 100%, and these values could have never
+ actually appeared in practice as setting the property to these values
+ fails. It has a test case, and the other test cases prove that this
+ change did not break other configurations. In the worst case (compiler
+ bugs etc.) this update could cause currently working battery information
+ to be wrong, but upower is mostly an informational service these days
+ and thus won't have the ability to completely break the system.
+ 
+ ORIGINAL BUG:
+ 
  See the following upower dump:
  
  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
-   native-path:  AC
-   power supply: yes
-   updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
-   has history:  no
-   has statistics:   no
-   line-power
- online: yes
+   native-path:  AC
+   power supply: yes
+   updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
+   has history:  no
+   has statistics:   no
+   line-power
+ online: yes
  
  Device: /org/freedesktop/UPower/devices/battery_BAT0
-   native-path:  BAT0
-   vendor:   SMP
-   model:DELL Y61CV22
-   serial:   3840
-   power supply: yes
-   updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
-   has history:  yes
-   has statistics:   yes
-   battery
- present: yes
- rechargeable:yes
- state:   fully-charged
- energy:  66.6 Wh
- energy-empty:0 Wh
- energy-full: 66.6 Wh
- energy-full-design:  66.6 Wh
- energy-rate: 0.0111 W
- voltage: 12.836 V
- percentage:  0%
- capacity:76.9167%
- technology:  lithium-ion
+   native-path:  BAT0
+   vendor:   SMP
+   model:DELL Y61CV22
+   serial:   3840
+   power supply: yes
+   updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
+   has history:  yes
+   has statistics:   yes
+   battery
+ present: yes
+ rechargeable:yes
+ state:   fully-charged
+ energy:  66.6 Wh
+ energy-empty:0 Wh
+ energy-full: 66.6 Wh
+ energy-full-design:  66.6 Wh
+ energy-rate: 0.0111 W
+ voltage: 12.836 V
+ percentage:  0%
+ capacity:76.9167%
+ technology:  lithium-ion
  
  Device: /org/freedesktop/UPower/devices/battery_BAT2
-   native-path:  BAT2
-   vendor:   Samsung SDI
-   model:DELL W1GGM26
-   serial:   12515
-   power supply: yes
-   updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
-   has history:  yes
-   has statistics:   yes
-   battery
- present: yes
- rechargeable:yes
- state:   fully-charged
- energy:  31.08 Wh
- energy-empty:0 Wh
- energy-full: 31.08 Wh
- energy-full-design:  31.08 Wh
- energy-rate: 0.0111 W
- voltage: 12.428 V
- percentage:  0%
- capacity:81.2857%
- technology:  lithium-ion
+   native-path:  BAT2
+   vendor:   Samsung SDI
+   model:DELL W1GGM26
+   serial:   12515
+   power supply: yes
+   updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
+   has history:  yes
+   has statistics:   yes
+   battery
+ present: yes
+ rechargeable:yes
+ state:   fully-charged
+ energy:  31.08 Wh
+ energy-empty:0 Wh
+ energy-full: 31.08 Wh
+ energy-full-design:  31.08 Wh
+ energy-rate: 0.0111 W
+ voltage: 12.428 V
+ percentage:  0%
+ capacity:81.2857%
+ technology:  lithium-ion
  
  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:

[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-22 Thread Martin Pitt
I backported the patch and uploaded it to Debian. Will sync it as soon
as it gets imported.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Fix Committed
Status in “upower” source package in Saucy:
  New
Status in “upower” source package in Trusty:
  Fix Committed

Bug description:
  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
native-path:  AC
power supply: yes
updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
has history:  no
has statistics:   no
line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path:  BAT0
vendor:   SMP
model:DELL Y61CV22
serial:   3840
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
native-path:  BAT2
vendor:   Samsung SDI
model:DELL W1GGM26
serial:   12515
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
daemon-version:  0.9.22
can-suspend: yes
can-hibernate:   no
on-battery:  no
on-low-battery:  no
lid-is-closed:   no
lid-is-present:  yes
is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1240673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-22 Thread Martin Pitt
** Also affects: upower (Ubuntu Saucy)
   Importance: Undecided
   Status: New

** Also affects: upower (Ubuntu Trusty)
   Importance: High
 Assignee: Martin Pitt (pitti)
   Status: Fix Committed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Fix Committed
Status in “upower” source package in Saucy:
  New
Status in “upower” source package in Trusty:
  Fix Committed

Bug description:
  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
native-path:  AC
power supply: yes
updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
has history:  no
has statistics:   no
line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path:  BAT0
vendor:   SMP
model:DELL Y61CV22
serial:   3840
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
native-path:  BAT2
vendor:   Samsung SDI
model:DELL W1GGM26
serial:   12515
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
daemon-version:  0.9.22
can-suspend: yes
can-hibernate:   no
on-battery:  no
on-low-battery:  no
lid-is-closed:   no
lid-is-present:  yes
is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1240673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


Re: [Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-22 Thread Scott Kitterman
On Tuesday, October 22, 2013 08:07:54 you wrote:
> Fixed upstream with a test case:
> http://cgit.freedesktop.org/upower/commit/?id=22da1a0bc Also cherry-picked
> into 0.9 branch.

I rebuilt the package locally with the patch and that (not surprisingly) 
solved the problem.  I think this should, in addition to being fixed in trusty, 
be an SRU for saucy.

Thanks.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Fix Committed

Bug description:
  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
native-path:  AC
power supply: yes
updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
has history:  no
has statistics:   no
line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path:  BAT0
vendor:   SMP
model:DELL Y61CV22
serial:   3840
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
native-path:  BAT2
vendor:   Samsung SDI
model:DELL W1GGM26
serial:   12515
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
daemon-version:  0.9.22
can-suspend: yes
can-hibernate:   no
on-battery:  no
on-low-battery:  no
lid-is-closed:   no
lid-is-present:  yes
is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1240673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-22 Thread Martin Pitt
Fixed upstream with a test case: 
http://cgit.freedesktop.org/upower/commit/?id=22da1a0bc
Also cherry-picked into 0.9 branch.

** Changed in: upower (Ubuntu)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Fix Committed

Bug description:
  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
native-path:  AC
power supply: yes
updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
has history:  no
has statistics:   no
line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path:  BAT0
vendor:   SMP
model:DELL Y61CV22
serial:   3840
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
native-path:  BAT2
vendor:   Samsung SDI
model:DELL W1GGM26
serial:   12515
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
daemon-version:  0.9.22
can-suspend: yes
can-hibernate:   no
on-battery:  no
on-low-battery:  no
lid-is-closed:   no
lid-is-present:  yes
is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1240673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-22 Thread Martin Pitt
Reproduced in test suite:

TI:09:55:58 energy 132,00 bigger than full 120,00

(lt-upowerd:8664): GLib-GObject-WARNING **: value "110,00" of type
'gdouble' is invalid or out of range for property 'percentage' of type
'gdouble'

That's how it ends up as 0%.

** Changed in: upower (Ubuntu)
   Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  In Progress

Bug description:
  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
native-path:  AC
power supply: yes
updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
has history:  no
has statistics:   no
line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path:  BAT0
vendor:   SMP
model:DELL Y61CV22
serial:   3840
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
native-path:  BAT2
vendor:   Samsung SDI
model:DELL W1GGM26
serial:   12515
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
daemon-version:  0.9.22
can-suspend: yes
can-hibernate:   no
on-battery:  no
on-low-battery:  no
lid-is-closed:   no
lid-is-present:  yes
is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1240673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-22 Thread Martin Pitt
These are indeed odd, I guess that's what is upsetting upower:

/sys/class/power_supply/BAT0/charge_now:600
/sys/class/power_supply/BAT0/charge_full:4615000
/sys/class/power_supply/BAT0/capacity:130

/sys/class/power_supply/BAT2/charge_now:280
/sys/class/power_supply/BAT2/charge_full:2276000
/sys/class/power_supply/BAT2/capacity:123

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Confirmed

Bug description:
  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
native-path:  AC
power supply: yes
updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
has history:  no
has statistics:   no
line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path:  BAT0
vendor:   SMP
model:DELL Y61CV22
serial:   3840
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
native-path:  BAT2
vendor:   Samsung SDI
model:DELL W1GGM26
serial:   12515
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
daemon-version:  0.9.22
can-suspend: yes
can-hibernate:   no
on-battery:  no
on-low-battery:  no
lid-is-closed:   no
lid-is-present:  yes
is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1240673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-21 Thread Scott Kitterman
Attached grep -r . /sys/class/power_supply/* from a Dell Latitude E6320

** Attachment added: "grep -r . /sys/class/power_supply/* on Dell Latitude 
E6320"
   
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1240673/+attachment/3886622/+files/upower_grep

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Confirmed

Bug description:
  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
native-path:  AC
power supply: yes
updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
has history:  no
has statistics:   no
line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path:  BAT0
vendor:   SMP
model:DELL Y61CV22
serial:   3840
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
native-path:  BAT2
vendor:   Samsung SDI
model:DELL W1GGM26
serial:   12515
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
daemon-version:  0.9.22
can-suspend: yes
can-hibernate:   no
on-battery:  no
on-low-battery:  no
lid-is-closed:   no
lid-is-present:  yes
is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1240673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-21 Thread Martin Pitt
Sounds like fallout from
http://cgit.freedesktop.org/upower/commit/?id=07b95b8e or some similar
changes. So this is an inverse kernel/hardware bug to the problem of
phone batteries from that commit. *sigh* So we need to add some more
heuristics for this case, too.

I have a pretty good idea what happens, but for avoiding mistakes and
also to add a reliable test case, can you please copy&paste the output
of "grep -r . /sys/class/power_supply/*"?

** Changed in: upower (Ubuntu)
 Assignee: (unassigned) => Martin Pitt (pitti)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Confirmed

Bug description:
  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
native-path:  AC
power supply: yes
updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
has history:  no
has statistics:   no
line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path:  BAT0
vendor:   SMP
model:DELL Y61CV22
serial:   3840
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
native-path:  BAT2
vendor:   Samsung SDI
model:DELL W1GGM26
serial:   12515
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
daemon-version:  0.9.22
can-suspend: yes
can-hibernate:   no
on-battery:  no
on-low-battery:  no
lid-is-closed:   no
lid-is-present:  yes
is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1240673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-21 Thread Martin Stockhammer
Same problem:
Manufacturer: Dell Inc.
Product Name: Latitude E6520
Version: 01

upower -i /org/freedesktop/UPower/devices/battery_BAT0
  native-path:  BAT0
  vendor:   SMP
  model:DELL 5G67C21
  serial:   278
  power supply: yes
  updated:  Mo 21 Okt 2013 16:14:17 CEST (844 seconds ago)
  has history:  yes
  has statistics:   yes
  battery
present: yes
rechargeable:yes
state:   fully-charged
energy:  59,9955 Wh
energy-empty:0 Wh
energy-full: 59,9955 Wh
energy-full-design:  59,9955 Wh
energy-rate: 0,0111 W
voltage: 12,76 V
percentage:  0%
capacity:79,0564%
technology:  lithium-ion

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Confirmed

Bug description:
  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
native-path:  AC
power supply: yes
updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
has history:  no
has statistics:   no
line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path:  BAT0
vendor:   SMP
model:DELL Y61CV22
serial:   3840
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
native-path:  BAT2
vendor:   Samsung SDI
model:DELL W1GGM26
serial:   12515
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
daemon-version:  0.9.22
can-suspend: yes
can-hibernate:   no
on-battery:  no
on-low-battery:  no
lid-is-closed:   no
lid-is-present:  yes
is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1240673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-20 Thread Xarafaxz
Dell Latitude E6430 affected too.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Confirmed

Bug description:
  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
native-path:  AC
power supply: yes
updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
has history:  no
has statistics:   no
line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path:  BAT0
vendor:   SMP
model:DELL Y61CV22
serial:   3840
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
native-path:  BAT2
vendor:   Samsung SDI
model:DELL W1GGM26
serial:   12515
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
daemon-version:  0.9.22
can-suspend: yes
can-hibernate:   no
on-battery:  no
on-low-battery:  no
lid-is-closed:   no
lid-is-present:  yes
is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1240673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-20 Thread costavi
I have the same problem with mye Dell Latitude E5530, as reported on this 
(duplicate) bug report:
https://bugs.launchpad.net/ubuntu/+source/kde-baseapps/+bug/1235633

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Confirmed

Bug description:
  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
native-path:  AC
power supply: yes
updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
has history:  no
has statistics:   no
line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path:  BAT0
vendor:   SMP
model:DELL Y61CV22
serial:   3840
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
native-path:  BAT2
vendor:   Samsung SDI
model:DELL W1GGM26
serial:   12515
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
daemon-version:  0.9.22
can-suspend: yes
can-hibernate:   no
on-battery:  no
on-low-battery:  no
lid-is-closed:   no
lid-is-present:  yes
is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1240673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-19 Thread Konstantinos Koukos
Same problems on a Dell Latitude E6520 with a 100Wh battery
  vendor:   Samsung SDI
  model:DELL V57XN23

It seems that although state is "fully-charged" the percentage is 0% instead of 
100%.
This is what the KDE applet reports most probably so it seems to be a upower 
bug.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Confirmed

Bug description:
  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
native-path:  AC
power supply: yes
updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
has history:  no
has statistics:   no
line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path:  BAT0
vendor:   SMP
model:DELL Y61CV22
serial:   3840
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
native-path:  BAT2
vendor:   Samsung SDI
model:DELL W1GGM26
serial:   12515
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
daemon-version:  0.9.22
can-suspend: yes
can-hibernate:   no
on-battery:  no
on-low-battery:  no
lid-is-closed:   no
lid-is-present:  yes
is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1240673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-18 Thread Scott Kitterman
Now it's back to 0% on both batteries after just a suspend/resume (it
was plugged into power when suspended and when resumed, although it had
been unplugged while suspended):

$ upower --dump
Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path:  AC
  power supply: yes
  updated:  Fri 18 Oct 2013 02:22:27 PM EDT (7675 seconds ago)
  has history:  no
  has statistics:   no
  line-power
online: yes

Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path:  BAT0
  vendor:   SMP
  model:DELL Y61CV22
  serial:   3840
  power supply: yes
  updated:  Fri 18 Oct 2013 04:30:03 PM EDT (19 seconds ago)
  has history:  yes
  has statistics:   yes
  battery
present: yes
rechargeable:yes
state:   fully-charged
energy:  66.6 Wh
energy-empty:0 Wh
energy-full: 66.6 Wh
energy-full-design:  66.6 Wh
energy-rate: 0.0111 W
voltage: 12.885 V
percentage:  0%
capacity:76.9167%
technology:  lithium-ion
  History (charge):
1382128199  0.000   unknown
  History (rate):
1382128199  0.011   fully-charged
1382128199  0.000   unknown

Device: /org/freedesktop/UPower/devices/battery_BAT2
  native-path:  BAT2
  vendor:   Samsung SDI
  model:DELL W1GGM26
  serial:   12515
  power supply: yes
  updated:  Fri 18 Oct 2013 04:30:03 PM EDT (19 seconds ago)
  has history:  yes
  has statistics:   yes
  battery
present: yes
rechargeable:yes
state:   fully-charged
energy:  31.08 Wh
energy-empty:0 Wh
energy-full: 31.08 Wh
energy-full-design:  31.08 Wh
energy-rate: 0.0111 W
voltage: 12.404 V
percentage:  0%
capacity:81.2857%
technology:  lithium-ion
  History (charge):
1382128199  0.000   unknown
  History (rate):
1382128199  0.011   fully-charged
1382128199  0.000   unknown

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


** Changed in: upower (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Confirmed

Bug description:
  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
native-path:  AC
power supply: yes
updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
has history:  no
has statistics:   no
line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path:  BAT0
vendor:   SMP
model:DELL Y61CV22
serial:   3840
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
native-path:  BAT2
vendor:   Samsung SDI
model:DELL W1GGM26
serial:   12515
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
daemon-version:  0.9.22
can-suspend: yes
can-hibernate:   no
on-battery:  no
on-low-battery:  no
lid-is-closed:   no
lid-is-present:  y

[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-18 Thread George
Confirmed on Dell N5010

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Confirmed

Bug description:
  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
native-path:  AC
power supply: yes
updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
has history:  no
has statistics:   no
line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path:  BAT0
vendor:   SMP
model:DELL Y61CV22
serial:   3840
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
native-path:  BAT2
vendor:   Samsung SDI
model:DELL W1GGM26
serial:   12515
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
daemon-version:  0.9.22
can-suspend: yes
can-hibernate:   no
on-battery:  no
on-low-battery:  no
lid-is-closed:   no
lid-is-present:  yes
is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1240673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-17 Thread Harald Sitter
** Tags added: kubuntu

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Confirmed

Bug description:
  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
native-path:  AC
power supply: yes
updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
has history:  no
has statistics:   no
line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path:  BAT0
vendor:   SMP
model:DELL Y61CV22
serial:   3840
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
native-path:  BAT2
vendor:   Samsung SDI
model:DELL W1GGM26
serial:   12515
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
daemon-version:  0.9.22
can-suspend: yes
can-hibernate:   no
on-battery:  no
on-low-battery:  no
lid-is-closed:   no
lid-is-present:  yes
is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1240673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-17 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: upower (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  Confirmed

Bug description:
  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
native-path:  AC
power supply: yes
updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
has history:  no
has statistics:   no
line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path:  BAT0
vendor:   SMP
model:DELL Y61CV22
serial:   3840
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
native-path:  BAT2
vendor:   Samsung SDI
model:DELL W1GGM26
serial:   12515
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
daemon-version:  0.9.22
can-suspend: yes
can-hibernate:   no
on-battery:  no
on-low-battery:  no
lid-is-closed:   no
lid-is-present:  yes
is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1240673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-17 Thread Scott Kitterman
After unplugging it and plugging it back in, it's now reporting correct
information for one battery:

$ upower --dump
Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path:  AC
  power supply: yes
  updated:  Thu 17 Oct 2013 09:51:58 AM EDT (496 seconds ago)
  has history:  no
  has statistics:   no
  line-power
online: yes

Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path:  BAT0
  vendor:   SMP
  model:DELL Y61CV22
  serial:   3840
  power supply: yes
  updated:  Thu 17 Oct 2013 10:00:04 AM EDT (10 seconds ago)
  has history:  yes
  has statistics:   yes
  battery
present: yes
rechargeable:yes
state:   charging
energy:  26.8176 Wh
energy-empty:0 Wh
energy-full: 66.6 Wh
energy-full-design:  66.6 Wh
energy-rate: 28.3938 W
voltage: 12.234 V
time to full:1.4 hours
percentage:  52%
capacity:76.9167%
technology:  lithium-ion
  History (charge):
1382018404  52.000  charging
1382018344  51.000  charging
  History (rate):
1382018404  28.394  charging
1382018374  33.644  charging
1382018344  35.009  charging
1382018314  34.399  charging

Device: /org/freedesktop/UPower/devices/battery_BAT2
  native-path:  BAT2
  vendor:   Samsung SDI
  model:DELL W1GGM26
  serial:   12515
  power supply: yes
  updated:  Thu 17 Oct 2013 09:52:04 AM EDT (490 seconds ago)
  has history:  yes
  has statistics:   yes
  battery
present: yes
rechargeable:yes
state:   fully-charged
energy:  31.08 Wh
energy-empty:0 Wh
energy-full: 31.08 Wh
energy-full-design:  31.08 Wh
energy-rate: 0.0111 W
voltage: 12.418 V
percentage:  0%
capacity:81.2857%
technology:  lithium-ion

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

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  New

Bug description:
  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
native-path:  AC
power supply: yes
updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
has history:  no
has statistics:   no
line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path:  BAT0
vendor:   SMP
model:DELL Y61CV22
serial:   3840
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
native-path:  BAT2
vendor:   Samsung SDI
model:DELL W1GGM26
serial:   12515
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
daemon-version:  0.9.22
can-suspend: yes
can-hibernate:   no
on-battery:  no
on-low-battery:  no
lid-is-closed:   no
lid-is-present:  yes
is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-

[Desktop-packages] [Bug 1240673] Re: Reports 0% charged for fully charged batteries

2013-10-16 Thread Ubuntu QA Website
This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1240673

** Tags added: iso-testing

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  New

Bug description:
  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
native-path:  AC
power supply: yes
updated:  Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
has history:  no
has statistics:   no
line-power
  online: yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path:  BAT0
vendor:   SMP
model:DELL Y61CV22
serial:   3840
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  66.6 Wh
  energy-empty:0 Wh
  energy-full: 66.6 Wh
  energy-full-design:  66.6 Wh
  energy-rate: 0.0111 W
  voltage: 12.836 V
  percentage:  0%
  capacity:76.9167%
  technology:  lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
native-path:  BAT2
vendor:   Samsung SDI
model:DELL W1GGM26
serial:   12515
power supply: yes
updated:  Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
has history:  yes
has statistics:   yes
battery
  present: yes
  rechargeable:yes
  state:   fully-charged
  energy:  31.08 Wh
  energy-empty:0 Wh
  energy-full: 31.08 Wh
  energy-full-design:  31.08 Wh
  energy-rate: 0.0111 W
  voltage: 12.428 V
  percentage:  0%
  capacity:81.2857%
  technology:  lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
daemon-version:  0.9.22
can-suspend: yes
can-hibernate:   no
on-battery:  no
on-low-battery:  no
lid-is-closed:   no
lid-is-present:  yes
is-docked:   no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1240673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp