Comment 44 for bug 467825

Revision history for this message
Omer Akram (om26er) wrote : Re: [Bug 467825] Re: Battery state always "fully charged"

no need for sudo
apt-get source upower would do it

On Wed, Jul 13, 2011 at 11:15 PM, Mikael Hjelm
<email address hidden> wrote:
> Omer,
> I would if it wasn't the case that when i do
> sudo apt-get source upower
> The whole tree is owned by root so I cannot  do configure and make without sudo.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/467825
>
> Title:
>  Battery state always "fully charged"
>
> Status in Gnome Powermanager:
>  New
> Status in “upower” package in Ubuntu:
>  Confirmed
>
> Bug description:
>  Binary package hint: gnome-power-manager
>
>  gnome-power-manager always detects my battery state as "fully charged"
>  in karmic. (on 9.04 it detected the battery state correctly.) - this
>  ends up in data loss because my machine does not perform any shutdown
>  tasks when the it runs out of battery.
>
>  The output of acpi -V says:
>
>  $ acpi -V
>  Battery 0: Charging, 22%, rate information unavailable
>  Battery 0: design capacity 4000 mAh, last full capacity 2980 mAh = 74%
>  Adapter 0: on-line
>  Thermal 0: ok, 68.8 degrees C
>  Thermal 0: trip point 0 switches to mode critical at temperature 104.8 degrees C
>  Thermal 0: trip point 1 switches to mode passive at temperature 88.8 degrees C
>  Cooling 0: Processor 0 of 7
>
>  "Charging, 22%".
>
>  The output of devkit-power says:
>
>  $ devkit-power -d
>  Device: /org/freedesktop/DeviceKit/Power/devices/line_power_AC
>    native-path:          /sys/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC
>    power supply:         yes
>    updated:              Sat Oct 31 23:31:03 2009 (14629 seconds ago)
>    has history:          no
>    has statistics:       no
>    line-power
>      online:             yes
>
>  Device: /org/freedesktop/DeviceKit/Power/devices/battery_BAT0
>    native-path:          /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0
>    vendor:               NOTEBOOK
>    model:                BAT1
>    serial:               0001
>    power supply:         yes
>    updated:              Sat Oct 31 23:31:03 2009 (14629 seconds ago)
>    has history:          yes
>    has statistics:       yes
>    battery
>      present:             yes
>      rechargeable:        yes
>      state:               fully-charged
>      energy:              32.184 Wh
>      energy-empty:        0 Wh
>      energy-full:         32.184 Wh
>      energy-full-design:  43.2 Wh
>      energy-rate:         0.0108 W
>      percentage:          100%
>      capacity:            74.5%
>      technology:          lithium-ion
>
>  Daemon:
>    daemon-version:  011
>    can-suspend:     yes
>    can-hibernate    yes
>    on-battery:      no
>    on-low-battery:  no
>    lid-is-closed:   yes
>    lid-is-present:   yes
>
>  "fully-charged".
>
>  This might be a devkit-power-bug, though.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gnome-power/+bug/467825/+subscriptions
>