<?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/"
	>

<channel>
	<title>James Henstridge &#187; gnome-power-manager</title>
	<atom:link href="http://blogs.gnome.org/jamesh/tag/gnome-power-manager/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.gnome.org/jamesh</link>
	<description>Random stuff</description>
	<lastBuildDate>Tue, 27 Oct 2009 08:48:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Weird GNOME Power Manager error message</title>
		<link>http://blogs.gnome.org/jamesh/2007/11/19/weird-gnome-power-manager-error-message/</link>
		<comments>http://blogs.gnome.org/jamesh/2007/11/19/weird-gnome-power-manager-error-message/#comments</comments>
		<pubDate>Sun, 18 Nov 2007 23:08:39 +0000</pubDate>
		<dc:creator>James Henstridge</dc:creator>
				<category><![CDATA[Uncategorised]]></category>
		<category><![CDATA[Gnome]]></category>
		<category><![CDATA[gnome-power-manager]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/jamesh/2007/11/19/weird-gnome-power-manager-error-message/</guid>
		<description><![CDATA[Since upgrading to Ubuntu Gutsy I&#8217;ve occasionally been seeing the following notification from GNOME Power Manager:

I&#8217;d usually trigger this error by unplugging the AC adapter and then picking suspend from GPM&#8217;s left click menu.
My first thought on seeing this was &#8220;What&#8217;s a policy timeout, and why is it not valid?&#8221; followed by &#8220;I don&#8217;t remember [...]]]></description>
			<content:encoded><![CDATA[<p>Since upgrading to <a href="https://wiki.ubuntu.com/GutsyGibbon">Ubuntu Gutsy</a> I&#8217;ve occasionally been seeing the following notification from GNOME Power Manager:</p>
<p align="center"><img src="http://blogs.gnome.org/jamesh/files/2007/11/gnome-power-manager-popup.png" alt="GNOME Power Manager notification" /></p>
<p>I&#8217;d usually trigger this error by unplugging the AC adapter and then picking suspend from GPM&#8217;s left click menu.</p>
<p>My first thought on seeing this was &#8220;What&#8217;s a policy timeout, and why is it not valid?&#8221; followed by &#8220;I don&#8217;t remember setting a policy timeout&#8221;.  Looking at <a href="http://bugzilla.gnome.org/show_bug.cgi?id=492132">bug 492132</a> I found a pointer to the <tt>policy_suppression_timeout</tt> gconf value, whose description gives a bit more information.</p>
<p>Apparently the timeout is designed to ignore spurious messages from the hardware after a resume &#8212; you wouldn&#8217;t want to process a left over &#8220;suspend&#8221; message immediately after resuming from suspend after all.  This does bring up a few questions though:</p>
<ol>
<li>While ignoring &#8220;please suspend&#8221; messages shortly after performing a suspend makes sense, why ignore &#8220;please suspend&#8221; messages after an &#8220;on battery power message&#8221;?</li>
<li>While messages from the hardware might be spurious, surely picking an option from GPM&#8217;s menu is not.  I guess such suspend requests are being mixed in with hardware suspend requests before the point where the policy timeout is checked.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/jamesh/2007/11/19/weird-gnome-power-manager-error-message/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
