Author Topic: What happens when laptop lid is closed?  (Read 1441 times)

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
What happens when laptop lid is closed?
« on: December 04, 2010, 08:15:03 AM »
When a laptop lid is closed, I see a lot of hard disk activity followed by the power LED going into a blinking state. (This observation applied particularly to my HP Mini, might apply to others too)

I believe the system is going into a type of suspension, ?suspend to RAM. Under this state will the hard disk be shutdown?

I basically want to know is it safe to transport the laptop during this lid-closed state in a car. I have a 2 hour break in my work during noon in which I go home and come back. I take the laptop with me. If it is safe to carry the laptop in this state then I will just do it because it saves time shutting down/hibernating and then waiting for it to come back up.

-SS.
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: What happens when laptop lid is closed?
« Reply #1 on: December 04, 2010, 08:27:37 AM »
a mini is a netbook, if you are concerned about the durability of hard disk remember that is a device designed to tolerate some abuse and usually the first thing that dies on a netbook or laptop is the hard disk but usually takes 3 or 4 years, right in time to replace the whole machine

you can set your netbook or laptop to suspend to ram or suspend to disk

what desktop are you using? this option depends on the desktop you use
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: What happens when laptop lid is closed?
« Reply #2 on: December 04, 2010, 10:12:17 AM »
My desktop is an assembled one described in my signature. I had tried putting that to suspend to RAM once but it did not wake up and I have left it at that. It does not matter to me now because once I finish using it I shut it down anyway.

I am concerned about shocks sustained by a live hard disk of my netbook getting damaged by movement particularly while in a car or an accidental brush against a door. If Suspend to RAM shuts the hard disk down then I would not have to worry about it. Thats all.

Thanks for your attention.

-SS.
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: What happens when laptop lid is closed?
« Reply #3 on: December 04, 2010, 10:52:28 AM »
if suspend to ram doesn't want to work for you i would change system to suspend to disk, shuts down machine and stores in swap what was on ram to restore later

suspend to ram turns off what it can or what is allowed to, including hard disk but some machines won't turn it off so it will keep spinning, this was common in older machines and some desktops doing this mode and that is why most people preferred a fast boot so they could turn off machine than use suspend to ram or to disk

if you are worried the easiest and most simple thing to do is turn off the machine

to use suspend to disk in kde4 left click on the battery monitor in the task bar

this will call a menu with some options to including a button with a tool in it, it will allow you configure what the system will do when you close the lid on each power condition, battery, connected and low battery
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline The Chief

  • Hero Member
  • *****
  • Posts: 2235
Re: What happens when laptop lid is closed?
« Reply #4 on: December 04, 2010, 12:05:48 PM »
Mine doesn't offer 'hibernate' (suspend to disk) as an option.  So I have set it to shut down when the lid is closed.

If I let it suspend to RAM, what happens when the battery runs down?  Does it then try to suspend to disk?  Or just die, ungracefully?

Retired Senior Chief, Retired Software Engineer, Active GrandPa

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15283
  • ┌∩┐(◕_◕)┌∩┐
Re: What happens when laptop lid is closed?
« Reply #5 on: December 04, 2010, 12:20:36 PM »
I believe the head on the hard drive gets "parked" when in sleep and standby mode and the spindle goes to "rest" mode.

If the lid gets jarred etc this could wake the system and make the drive "active" which could crash the head into a platter so it's really a matter of weighing the probability/possibilty of that happening - and the consequences - against waiting a minute or two for the laptop to boot from cold.

But you may want to await a more definitive answer, or even go to the hard drive manufacturers web site and check the FAQ or any forums they may/should have.
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: What happens when laptop lid is closed?
« Reply #6 on: December 04, 2010, 01:21:54 PM »
"If I let it suspend to RAM, what happens when the battery runs down?  Does it then try to suspend to disk?  Or just die, ungracefully?"

i was reading in wikipedia about that and there is some machines doing suspend to ram and suspend to disk simultaneously for this situation but i don't see where i can check this, if my machine is capable or not and how to enable it
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: What happens when laptop lid is closed?
« Reply #7 on: December 04, 2010, 04:29:02 PM »
"If I let it suspend to RAM, what happens when the battery runs down?  Does it then try to suspend to disk?  Or just die, ungracefully?"

i was reading in wikipedia about that and there is some machines doing suspend to ram and suspend to disk simultaneously for this situation but i don't see where i can check this, if my machine is capable or not and how to enable it

Search Synaptic for the package "suspend" .....  which should already be installed in your KDE OS .....

/etc/suspend.conf  I think is the config file ....  but not sure ....
« Last Edit: December 04, 2010, 04:34:38 PM by Just19 »

Offline The Chief

  • Hero Member
  • *****
  • Posts: 2235
Re: What happens when laptop lid is closed?
« Reply #8 on: December 05, 2010, 09:49:08 AM »
I have that file, so apparently it is installed, but everything is commented out...

Retired Senior Chief, Retired Software Engineer, Active GrandPa