Bug 865362

Summary: Suspend after the lid close resumes in two phases.
Product: [Fedora] Fedora Reporter: Lukáš Zachar <lzachar>
Component: upowerAssignee: Richard Hughes <hughsient>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 18CC: hughsient, iiska, rbiba
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-11 14:22:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
pm-utils-bugreport-info output
none
power --monitor-detail output
none
upowerd -v output
none
dmesg output none

Description Lukáš Zachar 2012-10-11 09:47:11 UTC
Created attachment 625456 [details]
pm-utils-bugreport-info output

Description of problem:

When I close the lid the laptop suspends correctly. The power led starts blinking. I open the lid and for a few seconds I see the desktop. Then it suspends automatically again. After the consequent close/open of the lid or power button press the laptop resumes and stays resumed.

Experienced on the pm-test day lived and with updated upower too. After the update I killed gdm, upowerd, upower so it should reload it correctly.

I tried to run /usr/libexec/upowerd -v and upower --monitor-detail from the terminal and it resumed correctly. 
But when I tried to run systemctl start upower.service the consequent close/open lid issue reappears, and even following tries (after the stopping the systemd service) of upowerd from the terminal we not successful any more.

Version-Release number of selected component (if applicable):
upower-0.9.17-2, upower-0.9.18-1.fc18.x86_64

How reproducible:
always

Steps to Reproduce:
1. close lid
2. open lid
3.
  
Actual results:
Laptop is resumed, desktop is shown for 1-2 sec. Then it suspends on its own again. Consequent resume works and laptop stays resumed.

Expected results:
Laptop is resumed and stays awake.

Additional info:
Smolt profile: http://www.smolts.org/client/show/pub_339e87bc-c2c3-433b-89f1-82defdf4d6f7

Comment 1 Lukáš Zachar 2012-10-11 09:48:05 UTC
Created attachment 625457 [details]
power --monitor-detail output

Comment 2 Lukáš Zachar 2012-10-11 09:48:38 UTC
Created attachment 625458 [details]
upowerd -v output

Comment 3 Lukáš Zachar 2012-10-11 09:49:08 UTC
Created attachment 625467 [details]
dmesg output

Comment 4 Juhamatti Niemelä 2012-10-11 10:05:11 UTC
I have this same issue with pm-test-day livecd on Lenovo Thinkpad Edge. Smolt profile: http://www.smolts.org/client/show/pub_5c5f65fb-d013-4ccb-9e7b-dfbbacd0b87c

Comment 5 Lukáš Zachar 2012-10-11 13:30:18 UTC
It works flawlessly with gnome-settings-daemon-3.6.1-2.fc18.

Comment 6 Lukáš Zachar 2012-10-11 14:22:34 UTC

*** This bug has been marked as a duplicate of bug 859224 ***