<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>macOS Ventura &#8211; Wade Tregaskis</title>
	<atom:link href="https://wadetregaskis.com/tags/macos-ventura/feed/" rel="self" type="application/rss+xml" />
	<link>https://wadetregaskis.com</link>
	<description></description>
	<lastBuildDate>Sat, 16 Dec 2023 17:01:40 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://wadetregaskis.com/wp-content/uploads/2016/03/Stitch-512x512-1-256x256.png</url>
	<title>macOS Ventura &#8211; Wade Tregaskis</title>
	<link>https://wadetregaskis.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">226351702</site>	<item>
		<title>Preventing system sleep in Ventura</title>
		<link>https://wadetregaskis.com/preventing-system-sleep-in-ventura/</link>
					<comments>https://wadetregaskis.com/preventing-system-sleep-in-ventura/#respond</comments>
		
		<dc:creator><![CDATA[]]></dc:creator>
		<pubDate>Sat, 12 Nov 2022 16:55:49 +0000</pubDate>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Broken by design]]></category>
		<category><![CDATA[macOS Ventura]]></category>
		<category><![CDATA[pmset]]></category>
		<category><![CDATA[system sleep]]></category>
		<guid isPermaLink="false">https://blog.wadetregaskis.com/?p=5180</guid>

					<description><![CDATA[Ventura&#8217;s new System Settings app, replacing System Preferences, removes the ability to control quite a few important things. One of those is whether or not the system goes to sleep automatically. Well, it does let you control this setting but only for when the system is on mains power: By default the system will sleep&#8230; <a class="read-more-link" href="https://wadetregaskis.com/preventing-system-sleep-in-ventura/" data-wpel-link="internal">Read more</a>]]></description>
										<content:encoded><![CDATA[
<p>Ventura&#8217;s new System Settings app, replacing System Preferences, removes the ability to control quite a few important things.  One of those is whether or not the system goes to sleep automatically.</p>



<p>Well, it does let you control this setting but <em>only</em> for when the system is on mains power:</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img fetchpriority="high" decoding="async" width="900" height="267" src="https://wadetregaskis.com/wp-content/uploads/2022/11/Crippled-System-Settings.webp" alt="" class="wp-image-5182" style="width:450px;height:134px" srcset="https://wadetregaskis.com/wp-content/uploads/2022/11/Crippled-System-Settings.webp 900w, https://wadetregaskis.com/wp-content/uploads/2022/11/Crippled-System-Settings-256x76.webp 256w, https://wadetregaskis.com/wp-content/uploads/2022/11/Crippled-System-Settings-512x152.webp 512w" sizes="(max-width: 900px) 100vw, 900px" /><figcaption class="wp-element-caption">Limited controls over system sleep, in Ventura</figcaption></figure>
</div>


<p>By default the system will sleep on battery power after some undefined amount of idle time (approximately ten minutes, from observation).  System Settings does not allow you to change this.</p>



<p>Fortunately you can use <em>pmset</em> in Terminal to fix this:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="mono"><code>sudo pmset -a sleep 0</code></p>
</blockquote>



<p>This specifies that the system should never sleep automatically &#8211; that&#8217;s the 0 part &#8211; and that it should apply in all situations &#8211; that&#8217;s the -a part.</p>



<p>Alternatively you can modify the setting for just certain power modes, by using different flags:</p>



<ul class="wp-block-list">
<li><em>-b</em> for when on battery.</li>



<li><em>-c</em> for when connected to mains power.</li>



<li><em>-u</em> for when connected to a UPS (and mains power is down).</li>
</ul>



<p>Sidenote:  you can use <em>pmset -g</em> to see the current settings regarding power management, e.g.:</p>



<pre class="wp-block-preformatted mono">System-wide power settings:
Currently in use:
 standby              1
 Sleep On Power Button 1
 hibernatefile        /var/vm/sleepimage
 powernap             1
 networkoversleep     0
 disksleep            10
 sleep                0 (sleep prevented by powerd, sharingd, nsurlsessiond, nsurlsessiond, nsurlsessiond, nsurlsessiond, nsurlsessiond, nsurlsessiond)
 hibernatemode        3
 ttyskeepawake        1
 displaysleep         2
 tcpkeepalive         1
 lowpowermode         0
 womp                 0</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://wadetregaskis.com/preventing-system-sleep-in-ventura/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5180</post-id>	</item>
	</channel>
</rss>
