Energy Saver Configuration Profile and disksleep setting

glpi-ios
Contributor III

Hello...

I'm using Energy Saver payload with following settings :

b920de6a3cb34aa694236d6e861cb9c7
b81e640ee7224a019c9aafe37613abf7
e188e45332624aa687058d38b5e0cfb5
5e27e188b55f474ab9cd6f273f8fcab4

But, in the same time, I try to disable disksleep setting with this command line :
sudo pmset -a disksleep 0

The setting works well. When I type "pmset -g", I can see disksleep with 0 value.
But when the computer restart, disksleep value back to 180.

If I delete Energy Saver payload, the disksleep value I put does not change anymore.

I've try multiple settings with Energy Saver payload but without success.
I try disable all Display(s) sleep on each Energy Saver payload tabs, without success.

When I use Energy Saver payload, I can't disable disksleep setting.

Please, can you help me.

Thanks

6 REPLIES 6

Hugonaut
Valued Contributor II

try modifying the plist itself and see how that works for you, deploy it with a script, etc

/Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist

________________
Looking for a Jamf Managed Service Provider? Look no further than Rocketman
________________


Virtual MacAdmins Monthly Meetup - First Friday, Every Month

glpi-ios
Contributor III

Thanks for your answer.

Sadly, it's not working.

I deploy the plist and when I restart the computer it's ok.....but....a few second after, disksleep back to 180.

I will try to delete the Energy Saver payload and deploy the following files :

com.apple.PowerManagement.plist
com.apple.AutoWake.plist

I don't know if it's a clean method but I don't have choice.

If you have a solution.....

Thanks a lot for your help.

Hugonaut
Valued Contributor II

you're welcome.

what operating system(s) are you working with?

________________
Looking for a Jamf Managed Service Provider? Look no further than Rocketman
________________


Virtual MacAdmins Monthly Meetup - First Friday, Every Month

glpi-ios
Contributor III

10.11.6 & 10.12.6 with Jamf Pro 9.100

Hugonaut
Valued Contributor II

have you considered creating a launch daemon that rewrites the powermanagement plist to your custom settings? this way upon reboot you may be able to avoid it defaulting.

Not a lot of experience with the powersaving configs & settings so my knowledge is limited but i hope I've helped!

________________
Looking for a Jamf Managed Service Provider? Look no further than Rocketman
________________


Virtual MacAdmins Monthly Meetup - First Friday, Every Month

glpi-ios
Contributor III

Thank you for your help.

I will try.

I need disable disksleep because I have issues with some iMac models (5k / SSD). They won't wake from sleep.
I have to force shutdown by holding power button in and then reboot.

it seems that the problem disappears with disksleep disabled (I hope so....).

Thanks again.