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.
