[CentOS] Laptop turns off after lid closed Centos6

Fri Mar 3 10:52:32 UTC 2017
geo.inbox.ignored <geo.inbox.ignored at gmail.com>


On 03/02/2017 09:08 AM, david wrote:
> Folks
> 
> I have a laptop which i am using temporarily as a test server.
> It is permanently plugged in. It is running Centos 6, command
> line only. In the past, I could close the lid, thereby turning
> off the display, but not turning off the machine. It remained
> running indefinitely.

a laptop makes a nice 24/7/365 server.

using 'extend battery pack' or 'oem' pack?

> A recent update (this past week) changed that behavior. Now,
> when I close the lid, the laptop turns itself off within an hour.

you need a battery manager/monitor program to set up lid switch.

or use a 'script' to switch.

any settings in bios config?

> A google search talks about tools like "upower" and apcitool,
> but a "yum search" does not locate them.

yum knows where to 'look for what' in directory /etc/yum.repos.d

have a look at:   http://yum.baseurl.org/wiki/
     then read:   http://yum.baseurl.org/wiki/Faq


> Is there a way to revert back to the previous behavior?

get a battery manager, do not 'roll back'.

questions::
  make/model?
  oem manual?


-- 

The important thing is not to stop questioning.
 - Albert Einstein


CentOS GNU/Linux 6.8 -- KDE 4.3.4
Firefox 45.7.0 -- Thunderbird 45.6.0
GNUCash 2.4.15 -- zoneminder 1.30.0


peace out.

tc,hago.

g
.

=+=
Tired of having your microsoft os hacked?
Change to Linux os, used by microsoft hackers.
=+=
in a world with out fences, who needs gates.
=+=