power management does not shut down system when ups is low/critical

Bug #783929 reported by Giorgos Akrivas
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: gnome-power-manager

I have set it to shut down when UPS is low and also to shut down when UPS is critically low. When on UPS power, the battery discharges. There is a notification that UPS is critically low, but it does not attempt to shut down. Then UPS battery dies and the system abruptly turns off too.

I suspect that the reason bight be that it monitors time until battery empties, instead of monitoring percentage of battery charge. It seems that the time to empty is incorrect, while percentage is correct.

My UPS is a Belkin

What you expected to happen: When UPS power is low/critically low, the system should take action based on the power preferences (either hibernate or shut down)
What actually happened: UPS power gets low/critically low and no action is taken.
The minimal series of steps necessary to make it happen, where step 1 is "start the program".
1. Power Management Preferences|On UPS Power|When Power is low/critically low|Shut down
2. Pull the plug so that system runs on UPS power
3. Wait until UPS power is low

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: gnome-power-manager 2.32.0-2ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4
Uname: Linux 2.6.38-9-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Tue May 17 14:02:08 2011
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/gnome-power-manager
GnomeSessionIdleInhibited: No
GnomeSessionInhibitors: None
GnomeSessionSuspendInhibited: No
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
MachineType: System manufacturer P5K-E
ProcEnviron:
 SHELL=/bin/bash
 LC_MESSAGES=en_US.UTF-8
 LANG=el_GR.UTF-8
 LANGUAGE=en_US:en
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-9-generic root=UUID=402ff433-01c5-403c-b016-fff8ea6d259f ro splash vga=799 quiet splash vt.handoff=7
SourcePackage: gnome-power-manager
UpgradeStatus: No upgrade log present (probably fresh install)
XsessionErrors:
 (<unknown>:3787): libindicator-WARNING **: Shortcut Group does not have key 'TargetEnvironment' falling back to deprecated use of 'OnlyShowIn' and 'NotShowIn'.
 (<unknown>:3787): libindicator-WARNING **: Shortcut Group does not have key 'TargetEnvironment' falling back to deprecated use of 'OnlyShowIn' and 'NotShowIn'.
dmi.bios.date: 01/29/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1004
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5K-E
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1004:bd01/29/2008:svnSystemmanufacturer:pnP5K-E:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5K-E:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: P5K-E
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
Giorgos Akrivas (gakrivas-gmail) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

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 it at http://www.ubuntu.com/download . Thanks again and we appreciate your help.

Changed in gnome-power-manager (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Giorgos Akrivas (gakrivas-gmail) wrote :

Dear Pedro,

yes the issue is reproducible in oneiric. Like before, I set it to shutdown when battery is critically low, then unplugged the UPS and waited for it to drain. Oneiric did not shut down when the UPS went low, however just one second before the UPS ran out of power oneiric displayed a message; I did not have time to read it, but I managed to see the words "critically low". So it seems that the problem persists.

Changed in gnome-power-manager (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Manuel Valentin (manu.valentin) wrote :

this bug affects also ubuntu 12.04 on my hp mini netbook

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.