I have two batteries in my machine, and they discharge in serial. When I switch from charging the second to the first, g-p-m will do an emergency shutdown even if I'm on AC. To duplicate, first discharge the first battery completely, and start discharging the second. Then, plug it into the wall. When the second battery is fully charged, it will switch over to charging the first. At that point, g-p-m will popup the "Your power is critically low" warning and shut down the machine.
*** Bug 502282 has been marked as a duplicate of this bug. ***
Working on this...
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
I have the same thing on a Dell Latitude D420 with a single battery. When the battery is in critical power level, it shuts down automatically from gnome. This happens even if the system is on AC power, and is rather annoying.
Re: Comment #4 I have the same issue; it smells like bug509157 Shutdown plugging in empty battery while on AC power which probably should be duplicate of this bug.
*** This bug has been marked as a duplicate of bug 509157 ***