Battery: Added support for NetBSD
@@ -0,0 +1,6 @@
# Fetch 1.4
### Info
**Battery**<br \>
- Added support for NetBSD
@@ -1389,6 +1389,11 @@ getbattery () {
"FreeBSD"*)
battery=$(acpiconf -i 0 | awk -F ':\t' '/Remaining capacity/ {print $2}')
;;
"NetBSD"*)
battery=$(envstat | awk '\\(|\\)' '/charge:/ {print $2}')
battery="${battery/\.*}%"
esac
The note is not visible to the blocked user.