]> pere.pagekite.me Git - homepage.git/blobdiff - blog/archive/2015/09/09.rss
Generated.
[homepage.git] / blog / archive / 2015 / 09 / 09.rss
index 4d3f6ab26eb122cbbbf61ef35b9514f9a3e68434..e4bf25e5216c2c9b1e74d646a9fa463fe40044c8 100644 (file)
@@ -3,13 +3,13 @@
        <channel>
                <title>Petter Reinholdtsen - Entries from September 2015</title>
                <description>Entries from September 2015</description>
-                <link>http://people.skolelinux.org/pere/blog/</link>
+                <link>https://people.skolelinux.org/pere/blog/</link>
 
        
        <item>
                <title>The life and death of a laptop battery</title>
-               <link>http://people.skolelinux.org/pere/blog/The_life_and_death_of_a_laptop_battery.html</link>        
-               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_life_and_death_of_a_laptop_battery.html</guid>
+               <link>https://people.skolelinux.org/pere/blog/The_life_and_death_of_a_laptop_battery.html</link>        
+               <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/The_life_and_death_of_a_laptop_battery.html</guid>
                 <pubDate>Thu, 24 Sep 2015 16:00:00 +0200</pubDate>
                <description>&lt;p&gt;When I get a new laptop, the battery life time at the start is OK.
 But this do not last.  The last few laptops gave me a feeling that
@@ -39,8 +39,8 @@ available in Debian.&lt;/p&gt;
 battery stats ever since. Now my
 /var/log/hjemmenett-battery-status.log file contain around 115,000
 measurements, from the time the battery was working great until now,
-when it is unable to charge above 7% of original capasity.  My
-colletor shell script is quite simple and look like this:&lt;/p&gt;
+when it is unable to charge above 7% of original capacity.  My
+collector shell script is quite simple and look like this:&lt;/p&gt;
 
 &lt;pre&gt;
 #!/bin/sh
@@ -65,7 +65,7 @@ fi
 
 log_battery() {
     # Print complete message in one echo call, to avoid race condition
-    # when several log processes run in parallell.
+    # when several log processes run in parallel.
     msg=$(printf &quot;%s,&quot; $(date +%s); \
        for f in $files; do \
            printf &quot;%s,&quot; $(cat $f); \
@@ -100,7 +100,7 @@ timestamp,manufacturer,model_name,technology,serial_number,energy_full,energy_fu
 &lt;/pre&gt;
 
 &lt;p&gt;I wrote a small script to create a graph of the charge development
-over time.  This graph depicted above show the slow death of mylaptop
+over time.  This graph depicted above show the slow death of my laptop
 battery.&lt;/p&gt;
 
 &lt;p&gt;But why is this happening?  Why are my laptop batteries always
@@ -134,13 +134,21 @@ speed change over time, or if this stay the same.  I did not yet try
 to write a tool to calculate the derivative values of the battery
 level, but suspect some interesting insights might be learned from
 those.&lt;/p&gt;
+
+&lt;p&gt;Update 2015-09-24: I got a tip to install the packages
+acpi-call-dkms and tlp (unfortunately missing in Debian stable)
+packages instead of the tp-smapi-dkms package I had tried to use
+initially, and use &#39;tlp setcharge 40 80&#39; to change when charging start
+and stop.  I&#39;ve done so now, but expect my existing battery is toast
+and need to be replaced.  The proposal is unfortunately Thinkpad
+specific.&lt;/p&gt;
 </description>
        </item>
        
        <item>
                <title>Book cover for the Free Culture book finally done</title>
-               <link>http://people.skolelinux.org/pere/blog/Book_cover_for_the_Free_Culture_book_finally_done.html</link>        
-               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Book_cover_for_the_Free_Culture_book_finally_done.html</guid>
+               <link>https://people.skolelinux.org/pere/blog/Book_cover_for_the_Free_Culture_book_finally_done.html</link>        
+               <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/Book_cover_for_the_Free_Culture_book_finally_done.html</guid>
                 <pubDate>Thu, 3 Sep 2015 21:00:00 +0200</pubDate>
                <description>&lt;p&gt;Creating a good looking book cover proved harder than I expected.
 I wanted to create a cover looking similar to the original cover of