kdeutils3 provides some components for laptop battery monitoring, suspending, etc. that are accessible from the KDE control panel. The OpenBSD support for this is contained in x11/kde/utils3/patches/patch-klaptopdaemon_portable_cpp
As far as I can tell, this doesn't work at all now, because special privileges are needed to write to /dev/apmctl. And of course it requires that you don't run apmd. This really needs to be rewritten so that instead of opening /dev/apmctl directly, it talks to apmd. Somebody who uses KDE might want to look into this. -- Christian "naddy" Weisgerber [email protected]
