workers/battery: Refine OpenBSD support
workes/battery: Import OpenBSD support from battery_openbsd branch