Refer to sensorsd(8) and acpibat(4). Given those and related manual pages I'm relatively certain you should be able to achieve this.
OpenBSD is well-known for its clear and extensive documentation so use this to your advantage. The apropos(1) utility is your best friend :). Your second and third best friends are the FAQ and the mailing list archives. I am working under the assumption that no proprietary blobs are necessary to accomplish your goal. Otherwise, I am afraid you are out of luck as OpenBSD does not and never will contain any such blobs. They are "black boxes" and thus cannot be trusted. Regards, JP On 21/03/08 07:05pm, Subhaditya Nath wrote: > I have a Thinkpad E495 that has Battery Charge threshold support. i.e. > it can be set such that the battery starts charging at a specified > amount of charge (say, 70%) and automatically stops charging at a > specified charge (say, 80%). This feature is also available on Linux by > using TLP (made by linrunner, his website is linrunner.de) > > The problem is, I searched for this option in OpenBSD, but I couldn't > find it. > > It is a very crucial functionality for me. So, if somebody can please > tell me where I can set it, I would be very very thankful. > > (Pardon my bad english, it's not my first language) >