{"id":1073,"date":"2019-04-18T09:24:41","date_gmt":"2019-04-18T14:24:41","guid":{"rendered":"http:\/\/sites.williams.edu\/lj1\/?p=1073"},"modified":"2019-04-18T09:24:48","modified_gmt":"2019-04-18T14:24:48","slug":"mac-use-pmset-for-sleep-timers-and-power-managament","status":"publish","type":"post","link":"https:\/\/sites.williams.edu\/lj1\/labs\/mac-use-pmset-for-sleep-timers-and-power-managament\/","title":{"rendered":"Mac &#8211; Use PMSET for Sleep timers and Power Management"},"content":{"rendered":"<p>On the Mac there are a number of ways to control the sleep timers. \u00a0Some seem to work better than others. \u00a0For Mojave (MacOS 10.14.x) I have switched to using the command peset.<\/p>\n<p>peset -g \u00a0 \u00a0 \u00a0shows a list of settings<\/p>\n<p>peset -a \u00a0 \u00a0 \u00a0 allows you to change those settings<\/p>\n<p>Example:<\/p>\n<pre>bash-3.2# pmset -a sleep 120\r\n\r\nbash-3.2# pmset -a displaysleep 120\r\n\r\nbash-3.2# pmset -a disksleep 120\r\n\r\nbash-3.2# pmset -g<\/pre>\n<p>Additional details on this are available at:<br \/>\n<a href=\"https:\/\/eclecticlight.co\/2017\/01\/20\/power-management-in-detail-using-pmset\/\">https:\/\/eclecticlight.co\/2017\/01\/20\/power-management-in-detail-using-pmset\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>On the Mac there are a number of ways to control the sleep timers. \u00a0Some seem to work better than others. \u00a0For Mojave (MacOS 10.14.x) I have switched to using the command peset. peset -g \u00a0 \u00a0 \u00a0shows a list &hellip; <a class=\"more-link\" href=\"https:\/\/sites.williams.edu\/lj1\/labs\/mac-use-pmset-for-sleep-timers-and-power-managament\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":55,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[10086],"tags":[10090,73553,73554],"class_list":["post-1073","post","type-post","status-publish","format-standard","hentry","category-labs","tag-mac","tag-mojave","tag-sleep"],"acf":[],"_links":{"self":[{"href":"https:\/\/sites.williams.edu\/lj1\/wp-json\/wp\/v2\/posts\/1073","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.williams.edu\/lj1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.williams.edu\/lj1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.williams.edu\/lj1\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.williams.edu\/lj1\/wp-json\/wp\/v2\/comments?post=1073"}],"version-history":[{"count":2,"href":"https:\/\/sites.williams.edu\/lj1\/wp-json\/wp\/v2\/posts\/1073\/revisions"}],"predecessor-version":[{"id":1075,"href":"https:\/\/sites.williams.edu\/lj1\/wp-json\/wp\/v2\/posts\/1073\/revisions\/1075"}],"wp:attachment":[{"href":"https:\/\/sites.williams.edu\/lj1\/wp-json\/wp\/v2\/media?parent=1073"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.williams.edu\/lj1\/wp-json\/wp\/v2\/categories?post=1073"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.williams.edu\/lj1\/wp-json\/wp\/v2\/tags?post=1073"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}