[CentOS] Laptop turns off after lid closed Centos6

Thu Mar 2 15:46:15 UTC 2017
david <david at daku.org>

At 07:16 AM 3/2/2017, Leon Fauster wrote:
> > Am 02.03.2017 um 16:08 schrieb david <david at daku.org>:
> >
> > 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 recent update (this past week) changed that behavior.  Now, 
> when I close the lid, the laptop turns itself off within an hour.
> >
> > A google search talks about tools like "upower" and apcitool, but 
> a "yum search" does not locate them.
> >
> > Is there a way to revert back to the previous behavior?
>Sure that no X11/Gnome stuff got onto the system?
Yes, lots of stuff just in case I want to run a GUI for giggles.  The 
gnome stuff was present even with the earlier behavior.  Is there 
some setting I can adjust?