Comment 45 for bug 531190

Revision history for this message
Jonas Diaz (jonasdiaz) wrote : Re: [Bug 531190] Re: upower (devkit-power) reporting bad data when ACcable is unplugged

The workaround did not work for me...And I'm worried for the lifetime of my battery.

Este mensaje ha sido enviado gracias al servicio BlackBerry de Movilnet

-----Original Message-----
From: AdamOutler <email address hidden>
Sender: <email address hidden>
Date: Fri, 03 Dec 2010 23:27:57
To: <email address hidden>
Reply-To: Bug 531190 <email address hidden>
Subject: [Bug 531190] Re: upower (devkit-power) reporting bad data when AC
 cable is unplugged

Well, thanks for the help with the workaround.

This bug is about a year old and still has no repair, and noone assigned
to work on the Ubuntu portion?

here is some information from my netbook. it's a Gateway LT21. Hope it
helps.

adam@adam-netbook:/etc/apt/sources.list.d$ upower -d
Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/ACPI0003:00/power_supply/AC
  power supply: yes
  updated: Fri Dec 3 17:08:48 2010 (674 seconds ago)
  has history: no
  has statistics: no
  line-power
    online: no

Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/PNP0C0A:00/power_supply/BAT0
  vendor: SANYO
  model: UM09H31
  power supply: yes
  updated: Fri Dec 3 17:19:55 2010 (7 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
    rechargeable: yes
    state: discharging
    energy: 41.8824 Wh
    energy-empty: 0 Wh
    energy-full: 46.0296 Wh
    energy-full-design: 47.52 Wh
    energy-rate: 7.8408 W
    voltage: 12.117 V
    time to empty: 5.3 hours
    percentage: 90.9901%
    capacity: 96.8636%
    technology: lithium-ion
  History (rate):
    1291418395 7.841 discharging
    1291418363 8.230 discharging
    1291418332 7.927 discharging
    1291418301 8.316 discharging

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

--
You received this bug notification because you are a direct subscriber
of a duplicate bug (666330).
https://bugs.launchpad.net/bugs/531190

Title:
  upower (devkit-power) reporting bad data when AC cable is unplugged

Status in DeviceKit based power management D-Bus backend:
  Confirmed
Status in “upower” package in Ubuntu:
  Triaged
Status in “upower” package in Debian:
  Confirmed

Bug description:
  Binary package hint: upower

upower reports enormous energy-rate for first time after cord is unplugged.
GPM reacts on this first event not checking subsequent events.

This bug is started because I found no ways to collect data for 473552.
I have no devkit-power package.

=== EFFECTS ===

This is the underlying cause to gnome-power-manager immediately reporting critical battery after unplug even while charge is good. It is not a gnome-power-manager problem, the root is here in upower. Please do not report bugs against gnome-power-manager for this!

To workaround the effects execute:

gconftool-2 --type bool --set /apps/gnome-power-manager/general/use_time_for_policy false

(from <https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/572541/comments/1>)

=== apport information ===

ProblemType: Bug
Architecture: i386
Date: Wed Mar 3 11:15:13 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/lib/upower/upowerd
InstallationMedia: Lubuntu 10.04 "Lucid Lynx" - Alpha 3 i386 (20100225)
Package: upower 0.9.0+git20100216.b9bb78-0ubuntu1
ProcEnviron:

ProcVersionSignature: Ubuntu 2.6.32-15.22-generic
SourcePackage: upower
Uname: Linux 2.6.32-15-generic i686
---
Architecture: i386
DistroRelease: Ubuntu 10.04
InstallationMedia: Lubuntu 10.04 "Lucid Lynx" - Alpha 3 i386 (20100225)
Package: upower 0.9.0+git20100216.b9bb78-0ubuntu1
PackageArchitecture: i386
ProcEnviron:
 LANGUAGE=en_US.UTF-8
 LANG=en_US.UTF-8
 LC_MESSAGES=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-15.22-generic
Tags: lucid
Uname: Linux 2.6.32-15-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/devicekit-power/+bug/531190/+subscribe