Nur für Windows! Programmiert in C++ ohne weitere Library (außer Win-API)
Battery Monitor is a very small and lightweight tool, which shows your battery status always on top of your screen - but without bugging you!
No, but for now, I think Battery Monitor does exactly what it was intended to do, so I see no reason why there should be a newer release. If you have another opinion, don't wait contacting me (see at bottom of this page).
This feature was because of a missing feature in Windows XP. The problem is, that Windows has only a setting to shut down when less then 3% of battery charge remaining. As one of my laptops (an EEE-PC 901) has a very long battery lifetime (~7-9h), 3% can be up to 20 minutes. So I deactivated Windows automatic shutdown and use Battery Monitor instead.
All right, using Battery Monitor is very simple:
Battery Monitor is free software, „free as in speech“ (licensed under a BSD-like license) and also „free as in beer“. Full license text.
Battery Monitor only supports Windows, as Linux doesn't have such a lack of software ;). I could only try it on WinXP by now, but it should work on other Windows versions as well.
Only few things: MinGW GCC/G++ 4.5, MSys, windres, QMake w/ QTCreator IDE and Editra(Superseded: Netbeans IDE (C++)) and icons from the public domain Tango Icon Library. And of course a bunch of Windows API calls ;). For creating the documentation, Doxygen was used.
Here you go: Binaries Old Binaries (V1.0, better tested)
Thats not possible…I'm perfect….but in case that….hmmm….. okay ;) You can write an email (see below).
Okay, Battery Monitor only uses Windows API (and of course standard C/C++) features, the whole window management is done using API calls - as well as the query for every information Battery Monitor needs. The status update is done via windows messages using the windows internal timer. You can view the developer's Documentation(also available as PDF File) or directly download the sources. They were built using MinGw-Gcc 4.5 with some additional command line parameters: -mwindows -enable-auto-import -static-libgcc -static-libstdc++
Furthermore, you have to (dynamically) link setupapi. With those command line options, you'll get a static linked MinGW Runtime, otherwise one would need to have some additional dll files. Before compiling, you should also run windres -i main.rc -o main.res -O coff to produce a resource file containing all needed icons and version info. Since V1.1, qmake was used as build environment, but it should be no big deal to compile w/o qmake (see annotations above). The .pro-file is included. Old sources (V1.0, better tested) The whole project until V1.0 was done using the free Netbeans IDE, I packed the Netbeans project into the sources distribution so you can start right away. The documentation was done using doxygen. One last annotation: You can define a preprocessor constant named „DEBUG“. This will cause Battery Monitor to show errors instead of simply ignoring them (be careful, this could be annoying…).
Contact (german or english): Kontakt