/obsdBatteryInfo

Primary LanguageCBSD 2-Clause "Simplified" LicenseBSD-2-Clause

batteryInfo

OpenBSD ioctl(2) call to get battery info from APM.

cc -o batteryInfo -O2 batteryInfo.c