Turn Sleep Off

Sobchak
Contributor

I was looking for a way to turn some of the power save features off through Casper and I was looking at the Energy saver section of Configuration Profiles. I see "put the computer to sleep after" and "put the display to sleep after", but the range is 1 minute to 3 hours. I was looking for a way to set both of those to never. Is there a way to do that?

1 ACCEPTED SOLUTION

Kaltsas
Contributor III

Uncheck Put the Computer to sleep after. and Put the display to sleep after. This will set them both to never(0). I'm not sure it locks it from being changed after the fact though.

View solution in original post

6 REPLIES 6

Kaltsas
Contributor III

Uncheck Put the Computer to sleep after. and Put the display to sleep after. This will set them both to never(0). I'm not sure it locks it from being changed after the fact though.

pblake
Contributor III

I use these commands and I push it to all machines via a policy.
Display Sleep
sudo pmset displaysleep 0

Computer Sleep
sudo systemsetup -setcomputersleep Never

Kaltsas
Contributor III

This post from a while back jives with what I thought. I am going to test a profile now

https://jamfnation.jamfsoftware.com/featureRequest.html?id=621#responseChild1615

Kaltsas
Contributor III

Unchecking them does not seem to stick. The profile is installed and I can see System Sleep Timer = 0 but I can fiddle with the GUI and change the parameters to 1 minute and it goes to sleep 1 minute. After a reboot it sets to back to never but I would expect with this profile in place to not be able to modify the settings at all.

You may have to open a case with JAMF. I don't think that profile is working as expected.

calumhunter
Valued Contributor

post your config profile content

j_meister
Contributor II

In Apples Profile Manager it's solved better. There is indeed a way to set it to "Never". Why does jamf do not offer this?