Add battery_remaining function on OpenBSD
authorTobias Tschinkowitz <he4d@posteo.de>
Fri, 18 May 2018 12:43:04 +0000 (14:43 +0200)
committerAaron Marcher <me@drkhsh.at>
Fri, 18 May 2018 13:25:42 +0000 (15:25 +0200)
commit8c8326f793549dcc685f0e4ec3e29f1f3790d6d8
tree25f92ed7809ff58df86d84e8f6039a1f6c0f6381
parent80fc20d1d69b14f36ad9bb64d8af38481cbf1ff5
Add battery_remaining function on OpenBSD

Implementation of a battery_remaining function which returns the
remaining battery time in HH:MM format. Linux function still needs
implementation.
Move common code to load_apm_power_info
components/battery.c
config.def.h
slstatus.h