[Bug 461641] disconnecting power supply when the lid is closed doesn't switch powerdevil to powersave mode