Bug 509157 - Shutdown plugging in empty battery while on AC power
Summary: Shutdown plugging in empty battery while on AC power
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-power-manager
Version: 11
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 499668 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-01 15:27 UTC by Kris Buytaert
Modified: 2009-08-21 16:09 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-08-20 12:03:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Kris Buytaert 2009-07-01 15:27:16 UTC
Description of problem:


My laptop has 2 batteries, when one of them drains Fedora decides to shutdown the laptop even while on AC power.


Version-Release number of selected component (if applicable):

gnome-power-manager-2.26.2-1.fc11.i586


How reproducible:

3 times in a row

Steps to Reproduce:
1. Plug in Power
2. Take an empty 2nd battery , plug it in 
3. See machine detect low battery power and shutdown
  
Actual results:

Shutdown 

Expected results:
It's on AC power so I expect  
 A.  It not to shut down for safety when the battery goes empty 
 B.  Realize it has a 2nd battery anyhow
 C.  Go on as normal and let the battery charge.



Additional info:

This only happened after my fresh F11 installation .. I never had the problem on F10

Comment 1 Linus Walleij 2009-07-20 20:24:52 UTC
I have a similar problem: when I boot up the machine with a drained
battery, g-p-m will shut it down, even though it is on mains power.

Apparently the current version of g-p-m does only trigger the shut
down rule in accordance with battery level, it doesn't take into account
that a stable AC mains power source is available.

It needs to be amended to not shut down the system when it's on
AC power.

Comment 2 Richard Hughes 2009-08-20 12:03:55 UTC
This should be fixed properly in rawhide. See my blog for more information about how multi-battery laptops are handled.

Comment 3 Richard Hughes 2009-08-20 12:29:23 UTC
*** Bug 499668 has been marked as a duplicate of this bug. ***

Comment 4 Linus Walleij 2009-08-21 16:09:30 UTC
ThX Richard, URL:
http://blogs.gnome.org/hughsie/2009/06/16/gnome-power-manager-and-multiple-
batteries/


Note You need to log in before you can comment on or make changes to this bug.