<?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>gHacks technology news &#187; power cable</title>
	<atom:link href="http://www.ghacks.net/tag/power-cable/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghacks.net</link>
	<description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Mon, 23 Nov 2009 22:22:46 +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>Run something if battery is (dis)connected</title>
		<link>http://www.ghacks.net/2008/01/23/run-something-if-battery-is-disconnected/</link>
		<comments>http://www.ghacks.net/2008/01/23/run-something-if-battery-is-disconnected/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 23:56:48 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Mobile Computing]]></category>
		<category><![CDATA[Notebooks]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[battery]]></category>
		<category><![CDATA[battery run]]></category>
		<category><![CDATA[notebook]]></category>
		<category><![CDATA[power cable]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/2008/01/23/run-something-if-battery-is-disconnected/</guid>
		<description><![CDATA[It sometimes happens by accident that the power cable gets disconnected when you work with your notebook. It does not have to be by accident though, maybe you want to use the notebook in a different location without having to save everything and boot again. The problem that arises when a power cable gets disconnected is that the notebook loses battery power which is a huge problem if the battery was not loaded fully.]]></description>
			<content:encoded><![CDATA[<p>It sometimes happens by accident that the power cable gets disconnected when you work with your notebook. It does not have to be by accident though, maybe you want to use the notebook in a different location without having to save everything and boot again. The problem that arises when a power cable gets disconnected is that the notebook loses battery power which is a huge problem if the battery was not loaded fully.</p>
<p><a href="http://www.donationcoder.com/Software/Skrommel/index.html#BatteryRun">Battery Run</a> is a little command line utility that checks if a power cable is connected. Once it gets disconnected it starts a user defined action and another one when the cable gets connected again. You could for instance play a sound if the power cable gets disconnected to notify you or a software that would reduce power consumption.</p>
<p>Usage is straightforward. Download and unpack the file on your hard drive. Use the command <em>batteryrun load-program-when-disconnected load-program-when connected</em>. For example: batteryrun disconnected.wav connected.wav</p>
<p><span id="more-2966"></span>Batteryrun will play the disconnected.wav file when the power cable gets disconnected and the connected.wav file when it gets connected again. A icon should appear in the system tray if everything was setup correctly.</p>

	Tags: <a href="http://www.ghacks.net/tag/battery/" title="battery" rel="tag">battery</a>, <a href="http://www.ghacks.net/tag/battery-run/" title="battery run" rel="tag">battery run</a>, <a href="http://www.ghacks.net/tag/notebook/" title="notebook" rel="tag">notebook</a>, <a href="http://www.ghacks.net/tag/power-cable/" title="power cable" rel="tag">power cable</a>, <a href="http://www.ghacks.net/tag/software/" title="software" rel="tag">software</a>, <a href="http://www.ghacks.net/tag/windows/" title="Windows" rel="tag">Windows</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2006/12/03/test-your-notebooks-battery/" title="Test your notebooks battery (December 3, 2006)">Test your notebooks battery</a> (0)</li>
	<li><a href="http://www.ghacks.net/2008/05/22/network-settings-manager/" title="Network Settings Manager (May 22, 2008)">Network Settings Manager</a> (2)</li>
	<li><a href="http://www.ghacks.net/2008/03/13/automatically-lock-your-computer/" title="Automatically Lock your computer (March 13, 2008)">Automatically Lock your computer</a> (7)</li>
	<li><a href="http://www.ghacks.net/2008/06/08/zip-repair/" title="Zip Repair (June 8, 2008)">Zip Repair</a> (3)</li>
	<li><a href="http://www.ghacks.net/2008/07/15/zen-key-an-all-purpose-application-manager/" title="Zen Key An All Purpose Application Manager (July 15, 2008)">Zen Key An All Purpose Application Manager</a> (3)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2008/01/23/run-something-if-battery-is-disconnected/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
