X-Git-Url: http://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/c49353b142b0df73d815916df130f0d0f1badea5..b7b8beef9513edbd0880013b9c18ac3b8f8dc90c:/blog/index.html diff --git a/blog/index.html b/blog/index.html index d4221b35ec..ece642da22 100644 --- a/blog/index.html +++ b/blog/index.html @@ -19,6 +19,64 @@ +
+
Making battery measurements a little easier in Debian
+
15th March 2016
+

Back in September, I blogged about +the +system I wrote to collect statistics about my laptop battery, and +how it showed the decay and death of this battery (now replaced). I +created a simple deb package to handle the collection and graphing, +but did not want to upload it to Debian as there were already +a battery-stats +package in Debian that should do the same thing, and I did not see +a point of uploading a competing package when battery-stats could be +fixed instead. I reported a few bugs about its non-function, and +hoped someone would step in and fix it. But no-one did.

+ +

I got tired of waiting a few days ago, and took matters in my own +hands. The end result is that I am now the new upstream developer of +battery stats (available from github) and part of the team maintaining +battery-stats in Debian, and the package in Debian unstable is finally +able to collect battery status using the /sys/class/power_supply/ +information provided by the Linux kernel. If you install the +battery-stats package from unstable now, you will be able to get a +graph of the current battery fill level, to get some idea about the +status of the battery. The source package build and work just fine in +Debian testing and stable (and probably oldstable too, but I have not +tested). The default graph you get for that system look like this:

+ +

+ +

My plans for the future is to merge my old scripts into the +battery-stats package, as my old scripts collected a lot more details +about the battery. The scripts are merged into the upstream +battery-stats git repository already, but I am not convinced they work +yet, as I changed a lot of paths along the way. Will have to test a +bit more before I make a new release.

+ +

I will also consider changing the file format slightly, as I +suspect the way I combine several values into one field might make it +impossible to know the type of the value when using it for processing +and graphing.

+ +

If you would like I would like to keep an close eye on your laptop +battery, check out the battery-stats package in +Debian and +on +github. +I would love some help to improve the system further.

+
+
+ + + Tags: debian, english. + + +
+
+
+
Creating, updating and checking debian/copyright semi-automatically
19th February 2016
@@ -789,49 +847,6 @@ supporter too?

-
-
PGP key transition statement for key EE4E02F9
-
17th November 2015
-

I've needed a new OpenPGP key for a while, but have not had time to -set it up properly. I wanted to generate it offline and have it -available on a OpenPGP -smart card for daily use, and learning how to do it and finding -time to sit down with an offline machine almost took forever. But -finally I've been able to complete the process, and have now moved -from my old GPG key to a new GPG key. See -the -full transition statement, signed with both my old and new key for -the details. This is my new key:

- -
-pub   3936R/111D6B29EE4E02F9 2015-11-03 [expires: 2019-11-14]
-      Key fingerprint = 3AC7 B2E3 ACA5 DF87 78F1  D827 111D 6B29 EE4E 02F9
-uid                  Petter Reinholdtsen <pere@hungry.com>
-uid                  Petter Reinholdtsen <pere@debian.org>
-sub   4096R/87BAFB0E 2015-11-03 [expires: 2019-11-02]
-sub   4096R/F91E6DE9 2015-11-03 [expires: 2019-11-02]
-sub   4096R/A0439BAB 2015-11-03 [expires: 2019-11-02]
-
- -

The key can be downloaded from the OpenPGP key servers, signed by -my old key.

- -

If you signed my old key -(DB4CCC4B2A30D729), -I'd very much appreciate a signature on my new key, details and -instructions in the transition statement. I m happy to reciprocate if -you have a similarly signed transition statement to present.

-
-
- - - Tags: debian, english, sikkerhet. - - -
-
-
-

RSS feed