<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.slacky.eu/wikislack/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="it">
		<id>http://www.slacky.eu/wikislack/index.php?title=Batteria_by_Valfe&amp;feed=atom&amp;action=history</id>
		<title>Batteria by Valfe - Cronologia</title>
		<link rel="self" type="application/atom+xml" href="http://www.slacky.eu/wikislack/index.php?title=Batteria_by_Valfe&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://www.slacky.eu/wikislack/index.php?title=Batteria_by_Valfe&amp;action=history"/>
		<updated>2013-05-18T21:30:45Z</updated>
		<subtitle>Cronologia della pagina su questo sito</subtitle>
		<generator>MediaWiki 1.20.3</generator>

	<entry>
		<id>http://www.slacky.eu/wikislack/index.php?title=Batteria_by_Valfe&amp;diff=2469&amp;oldid=prev</id>
		<title>L1q1d il 10:10, 12 set 2006</title>
		<link rel="alternate" type="text/html" href="http://www.slacky.eu/wikislack/index.php?title=Batteria_by_Valfe&amp;diff=2469&amp;oldid=prev"/>
				<updated>2006-09-12T10:10:11Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Versione meno recente&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Versione delle 10:10, 12 set 2006&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 1:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 1:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Script]]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= Descrizione =&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= Descrizione =&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Script per controllare la percentuale di carica della batteria di un portatile da shell, richiede il supporto ad ACPI.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Script per controllare la percentuale di carica della batteria di un portatile da shell, richiede il supporto ad ACPI.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>L1q1d</name></author>	</entry>

	<entry>
		<id>http://www.slacky.eu/wikislack/index.php?title=Batteria_by_Valfe&amp;diff=2441&amp;oldid=prev</id>
		<title>L1q1d il 09:44, 12 set 2006</title>
		<link rel="alternate" type="text/html" href="http://www.slacky.eu/wikislack/index.php?title=Batteria_by_Valfe&amp;diff=2441&amp;oldid=prev"/>
				<updated>2006-09-12T09:44:21Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nuova pagina&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Descrizione =&lt;br /&gt;
Script per controllare la percentuale di carica della batteria di un portatile da shell, richiede il supporto ad ACPI.&lt;br /&gt;
= Script =&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
# Richiede ACPI abilitato.&lt;br /&gt;
&lt;br /&gt;
while true &lt;br /&gt;
do&lt;br /&gt;
CAPACITA=`cat /proc/acpi/battery/BAT0/info | grep &amp;quot;design capacity:&amp;quot;|cut -d\  -f11`&lt;br /&gt;
LIVELLO=`cat /proc/acpi/battery/BAT0/state | grep remaining|cut -d\  -f8`&lt;br /&gt;
PERCENTUALE=`echo $(( $LIVELLO * 100 / $CAPACITA ))`&lt;br /&gt;
if [ &amp;quot;$LIVELLO&amp;quot; = &amp;quot;$CAPACITA&amp;quot; ]; then &lt;br /&gt;
 echo -e &amp;quot;\n--- BATTERIA COMPLETAMENTE CARICA!&amp;quot;&lt;br /&gt;
else&lt;br /&gt;
 echo -e &amp;quot;\n--- STATO DELLA BATTERIA: $PERCENTUALE%&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
sleep 10&lt;br /&gt;
done&lt;br /&gt;
exit 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Data:    	03 Jun 2006&lt;br /&gt;
* Autore:    	Valfe&lt;br /&gt;
* Versione:    	1.0&lt;/div&gt;</summary>
		<author><name>L1q1d</name></author>	</entry>

	</feed>