mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-14 21:14:35 +03:00
netbsd: Add battery support
This uses proplib and sysmon_envsys to determine the total charge percentage of any number of connected batteries as well as the AC adapter state. Should work with ACPI and non-ACPI systems.
This commit is contained in:
@ -216,6 +216,7 @@ fi
|
||||
|
||||
if test "$my_htop_platform" = netbsd; then
|
||||
AC_SEARCH_LIBS([kvm_open], [kvm], [], [AC_MSG_ERROR([can not find required function kvm_open()])])
|
||||
AC_SEARCH_LIBS([prop_dictionary_get], [prop], [], [AC_MSG_ERROR([can not find required function prop_dictionary_get()])])
|
||||
fi
|
||||
|
||||
if test "$my_htop_platform" = openbsd; then
|
||||
|
Reference in New Issue
Block a user