Hibernate option shown when not possible due to kernel update

Bug #521792 reported by Pobice
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
devicekit-power (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: gnome-session

The Hibernation option still shows when hibernation is not possible due to kernel update.

When selected the screen locks as if it is going to hibernate and then nothing happens.

Looking in /var/log/pm-suspend.log I get:
Initial commandline parameters:
Sun Feb 14 17:08:36 GMT 2010: Running hooks for hibernate.
/usr/lib/pm-utils/sleep.d/000record hibernate hibernate: kernel update inhibits hibernate (/var/run/do-not-hibernate present)
Returned exit code 1.
Sun Feb 14 17:08:36 GMT 2010: Inhibit found, will not perform hibernate

Would it be possible to either hide the hibernate option or display a warning to the user the hibernation is not available if /var/run/do-not-hibernate exists?

Reported identical bug for Indicator Applet - Bug #521781
Reported lack of error/explanation for failure - Bug #481036

ProblemType: Bug
Architecture: amd64
Date: Sun Feb 14 17:25:17 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
Package: gnome-session 2.28.0-0ubuntu5
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
SourcePackage: gnome-session
Uname: Linux 2.6.31-19-generic x86_64

Revision history for this message
Pobice (robert-pobice) wrote :
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

This should probably be done lower down really (in dk-power)

affects: gnome-session (Ubuntu) → devicekit-power (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in devicekit-power (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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