← Back to team overview

desktop-packages team mailing list archive

[Bug 762630] battery state not "discharging" if AC unpluged after boot

 

Thank you for taking the time to report this bug and helping to make
Ubuntu better. The issue that you reported is one that should be
reproducible with the live environment of the Desktop CD of the stable
release - Oneiric Ocelot. It would help us greatly if you could test
with it so we can work on getting it fixed. You can find out more about
the development release at http://www.ubuntu.com/testing/ . Thanks again
and we appreciate your help.

** Changed in: gnome-power-manager (Ubuntu)
   Importance: Undecided => Low

** Changed in: gnome-power-manager (Ubuntu)
       Status: New => Incomplete

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

Title:
  battery state not "discharging" if AC unpluged after boot

Status in “gnome-power-manager” package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: gnome-power-manager

  Unfortunately, I can not reproduce it reliably, but when it happens
  this is the behavior:

  The battery symbol does not appear and the "on-battery" settings are
  not applied, if AC is unpluged after booting with AC.

  While
  # cat /proc/acpi/ac_adapter/ADP1/state

  changes between:
  state:                   off-line

  and :
  state:                   on-line

  # cat /proc/acpi/battery/BAT1/state

  keeps showing:
  present:                 yes
  capacity state:          ok
  charging state:          charged
  present rate:            unknown
  remaining capacity:      unknown
  present voltage:         10000 mV

  Also incorrect lines from:
  # upower --dump
    daemon-version:  0.9.5
    can-suspend:     no
    can-hibernate    no
    on-battery:      no
    on-low-battery:  no
    lid-is-closed:   yes
    lid-is-present:   yes

  The lid is open!

  ---

  The battery symbol does appear/change correctly after booting from battery.
  And upower --dump shows:

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

  
  ------

  With the wrong lid-state the laptop first was unable to resume fully (Bug #762576), then crashed hard during resume from suspend (caps+num lock blinking).
  After a reboot, AC state and suspend is currently working correctly again.

  ------

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: gnome-power-manager 2.32.0-0ubuntu1.1
  ProcVersionSignature: Ubuntu 2.6.35-28.50-generic 2.6.35.11
  Uname: Linux 2.6.35-28-generic x86_64
  Architecture: amd64
  Date: Sat Apr 16 12:09:01 2011
  GConfNonDefault:
   /apps/gnome-power-manager/backlight/battery_reduce=false
   /apps/gnome-power-manager/lock/blank_screen=false
   /apps/gnome-power-manager/lock/use_screensaver_settings=false
   /apps/gnome-power-manager/notify/sleep_failed_uri=
   /apps/gnome-power-manager/ui/icon_policy=charge
  GnomeSessionIdleInhibited: Unknown
  GnomeSessionInhibitors: Failed to acquire
  GnomeSessionSuspendInhibited: Unknown
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
  MachineType: Notebook SAM2010
  ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.35-28-generic root=/dev/mapper/vg_w-lv_root ro splash quiet vga=773 quiet splash pcie_aspm=off
  ProcEnviron:
   PATH=(custom, user)
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-power-manager
  dmi.bios.date: 04/25/2008
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: A1058AM7 V7.27
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: SAM2010
  dmi.board.vendor: MEDION
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 10
  dmi.chassis.vendor: MICRO-STAR INT'L CO.,LTD.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrA1058AM7V7.27:bd04/25/2008:svnNotebook:pnSAM2010:pvr1058:rvnMEDION:rnSAM2010:rvr:cvnMICRO-STARINT'LCO.,LTD.:ct10:cvrToBeFilledByO.E.M.:
  dmi.product.name: SAM2010
  dmi.product.version: 1058
  dmi.sys.vendor: Notebook

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/762630/+subscriptions