Wednesday, January 14, 2015
BatMon.app OpenBSD ACPI support
Check it out and enjoy GNUstep on your laptops.
Sunday, March 24, 2013
BatMon 0.7
Improved BSD support has been improved, Support for linux on powermac has been added.
Friday, March 01, 2013
BatMon on FreeBSD
Check out CVS or wait for the upcoming release!
Thursday, June 23, 2011
BatteryMonitor supports NetBSD

BatteryMonitor for GNUstep now has support for NetBSD acpi too now! Support languished because decent acpi support in NetBSD is relatively recent and reading it requires checking a property list (which is of course more complex, but at least consistent and clean compared to the maze of files linux provides). To manipulate it libprop sports handy functions, yet I always had some problems here and there, until I realized something very cool. Property lists are familiar to GNUstep and Cocoa users.
char * prop_dictionary_externalize(prop_dictionary_t dict);
Exports fully-fledged XML property list compatible with GNUstep plists, not just something similar. Thus it is a matter of using
-[NSString propertyList]
to get a dictionary and manipulate it with obj-c iterators, which is much more convenient than the equivalent C function provided by libprop.
Support is still quite rough and, for example, only the first battery is checked. I have only one NetBSD laptop and I don't know how NetBSD shields the results from BIOS idiosyncrasies I experienced on Linux (watt-hour and ampere-hour usage and orthogonality for example). But it is already very nice!
Tuesday, June 21, 2011
Battery Monitor now on OpenBSD

The battery monitor for GNUstep of the GAP project, has now basic battery information support by accessing the APM/ACPI driver. Advanced cell information supplied by ACPI is still missing. In any case at least I can see how much juice my OpenBSD laptop has left...
(Tested on my Dell Latitude C600, as always with APM and APCI, your luck with other laptops may vary depending on BIOS information and Kernel support)
Thursday, June 03, 2010
Battery Monitor 0.5
I released Battery Monitor 0.5 for GNUstep. This version includes some bug fixes and most importantly it supports the ACPI information in the /sys filesystem available on the more recent Linux kernels (as compared to /proc).
I noticed that for some ACPI implementation information is written in both places, but for some it is only in /sys so BatteryMonitor wasn't able to find a battery.
Currently /proc is still available as a fall-back if no battery is found in /sys, but I plan to deprecate and remove it in the future.
Batmon is available as usual in GAP.
Tuesday, November 08, 2005
New releases for GAP

This weekend Battery Monitor 0.2 and FTP 0.1 were released for the GNUstep Application Project. I hope with this small contribution to help out a bit the GNUstep problem which is, in my opinion, also a general lack of tools and applications.
Battery Monitor checks ACPI and to do this peeks inside the /proc file system. Once again working with it makes me thing on how weak and bad the idea of files versus syscalls is. I am forced to parse files with a useless overhead. Furthermore linux did also a very poor standardization effort and the /proc/acpi changes from laptop to laptop as well as from kernel to kernel version!
Also I have a worried thought for the future, I spread myself thin over a couple of projects now, all of which I think are useful. As I fear to get more busy in the future and as I hit some problems in the current design of the applications, I seriously fear that without external help and collaboration the projects are going to stagnate and be left unfinished, which would be indeed a pity. But it once again reflects another aspect of the GNUstep community.
This also reminds me to tickle Nicola again about the possibility to use kaffe with JIGS! Java integration can only do good to us.
