X-Git-Url: http://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/5b6222f93f94e2721e119fb4a477de4a547e89ba..868931f6da0e15da85a01e4eac69f11cf00a95f8:/blog/The_life_and_death_of_a_laptop_battery.html diff --git a/blog/The_life_and_death_of_a_laptop_battery.html b/blog/The_life_and_death_of_a_laptop_battery.html index 0e0e3086b0..7c2dda4a22 100644 --- a/blog/The_life_and_death_of_a_laptop_battery.html +++ b/blog/The_life_and_death_of_a_laptop_battery.html @@ -50,8 +50,8 @@ available in Debian.

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:

+when it is unable to charge above 7% of original capacity. My +collector shell script is quite simple and look like this:

 #!/bin/sh
@@ -76,7 +76,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 "%s," $(date +%s); \
 	for f in $files; do \
 	    printf "%s," $(cat $f); \
@@ -111,7 +111,7 @@ timestamp,manufacturer,model_name,technology,serial_number,energy_full,energy_fu
 

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.

But why is this happening? Why are my laptop batteries always @@ -145,6 +145,14 @@ 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.

+ +

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 'tlp setcharge 40 80' to change when charging start +and stop. I've done so now, but expect my existing battery is toast +and need to be replaced. The proposal is unfortunately Thinkpad +specific.

Tags: debian, english.
@@ -183,6 +191,12 @@ those.

  • September (2)
  • +
  • October (9)
  • + +
  • November (6)
  • + +
  • December (3)
  • +
  • 2014 @@ -383,7 +397,7 @@ those.

  • bankid (4)
  • -
  • bitcoin (8)
  • +
  • bitcoin (9)
  • bootsystem (15)
  • @@ -391,25 +405,25 @@ those.

  • chrpath (2)
  • -
  • debian (112)
  • +
  • debian (116)
  • -
  • debian edu (153)
  • +
  • debian edu (154)
  • digistan (10)
  • dld (15)
  • -
  • docbook (17)
  • +
  • docbook (20)
  • drivstoffpriser (4)
  • -
  • english (288)
  • +
  • english (298)
  • fiksgatami (23)
  • fildeling (12)
  • -
  • freeculture (19)
  • +
  • freeculture (25)
  • freedombox (9)
  • @@ -419,7 +433,7 @@ those.

  • intervju (42)
  • -
  • isenkram (10)
  • +
  • isenkram (11)
  • kart (19)
  • @@ -435,17 +449,19 @@ those.

  • multimedia (36)
  • -
  • norsk (264)
  • +
  • nice free software (6)
  • + +
  • norsk (272)
  • nuug (177)
  • -
  • offentlig innsyn (19)
  • +
  • offentlig innsyn (22)
  • open311 (2)
  • -
  • opphavsrett (53)
  • +
  • opphavsrett (58)
  • -
  • personvern (86)
  • +
  • personvern (92)
  • raid (1)
  • @@ -463,7 +479,7 @@ those.

  • scraperwiki (2)
  • -
  • sikkerhet (41)
  • +
  • sikkerhet (44)
  • sitesummary (4)
  • @@ -473,9 +489,9 @@ those.

  • stavekontroll (3)
  • -
  • stortinget (9)
  • +
  • stortinget (10)
  • -
  • surveillance (33)
  • +
  • surveillance (36)
  • sysadmin (2)