I ran gnome-power-manager with --verbose, and the log seems to provide
some hints as to the nature of the problem.  I see the following
sequence of events:

[system_timer] gpm-idle.c:171 (23:38:29):        System idle timeout
[gpm_idle_set_mode] gpm-idle.c:98 (23:38:34):    Doing a state transition: 3
[idle_changed_cb] gpm-manager.c:876 (23:38:34):  Idle state changed: SYSTEM
[gpm_inhibit_has_inhibit] gpm-inhibit.c:336 (23:38:34):  Valid as no inhibitors
Saving to syslog: Suspending computer. Reason: System idle.[gpm_info_event_log] 
gpm-info.c:594 (23:38:34):       Adding 5 to the event log
[gpm_control_get_lock_policy] gpm-control.c:389 (23:38:34):      Using custom 
locking settings (1)
[gpm_screensaver_lock] gpm-screensaver.c:250 (23:38:34):         doing 
gnome-screensaver lock
[gpm_control_suspend] gpm-control.c:439 (23:38:34):      emitting sleep

** (gnome-power-manager:28309): WARNING **: Method failed
(An unknown error occured)
[gpm_control_suspend] gpm-control.c:447 (09:37:37):      emitting resume
[...]
[gpm_control_suspend] gpm-control.c:451 (09:37:37):      emitting sleep-failure
[...]
[idle_do_sleep] gpm-manager.c:813 (09:37:37):    cannot suspend (error: General 
failure: An unknown error occured), so trying hibernate

This shows:

1. The system being idle for the specified period of time, and gpm deciding to 
sleep
2. The system resuming some 10 hours later
3. gpm detecting a failure to suspend, though in fact it was suspended for 10 
hours
4. gpm trying hibernation instead, still trying to satisfy the original request 
to suspend

I see that others have seen the opposite, so it may fall back from
hibernate to suspend as well.  I'm attaching the complete log.

** Attachment added: "gnome-power-manager debug log"
   http://launchpadlibrarian.net/15370014/gnome-power-manager.log.gz

-- 
Idle/inactive action/autosuspend results in a suspend AND a hibernate
https://bugs.launchpad.net/bugs/136871
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to