<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://72.14.177.54/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Low Power Boot - Revision history</title>
		<link>http://72.14.177.54/SFVLUG/?title=Low_Power_Boot&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.15.1</generator>
		<lastBuildDate>Sun, 14 Jun 2026 19:08:41 GMT</lastBuildDate>
		<item>
			<title>Dualdflipflop at 06:08, 29 January 2007</title>
			<link>http://72.14.177.54/SFVLUG/?title=Low_Power_Boot&amp;diff=1691&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A simple little snippet to add to rc.local (or your distribution's equivalent of post-SYSV start up script) that will help conserve power when booting up in battery mode.&lt;br /&gt;
&lt;br /&gt;
 # Haxx to lower power usage when booting up on battery.&lt;br /&gt;
 BATSTATE=`cat /proc/acpi/battery/BAT0/state | grep charging | awk -F: '{print $2}'`&lt;br /&gt;
 if [ &amp;quot;$BATSTATE&amp;quot; == &amp;quot;discharging&amp;quot; ]; then&lt;br /&gt;
 &lt;br /&gt;
        # If we get here, we're on battery.&lt;br /&gt;
        # Throttle the CPU&lt;br /&gt;
        echo 4 &amp;gt; /proc/acpi/processor/CPU/throttling&lt;br /&gt;
 &lt;br /&gt;
        # Go into laptop mode..&lt;br /&gt;
        echo 1 &amp;gt; /proc/sys/vm/laptop_mode&lt;br /&gt;
 &lt;br /&gt;
        # Remove wireless (and any other unnecessary) driver&lt;br /&gt;
        for i in ipw2100; do&lt;br /&gt;
                rmmod ${i}&lt;br /&gt;
        done&lt;br /&gt;
 fi&lt;/div&gt;</description>
			<pubDate>Mon, 29 Jan 2007 06:08:41 GMT</pubDate>			<dc:creator>Dualdflipflop</dc:creator>			<comments>http://72.14.177.54/SFVLUG/Talk:Low_Power_Boot</comments>		</item>
	</channel>
</rss>