battery: fix battery detection on Windows
@ -2261,7 +2261,7 @@ get_battery() {
"Windows")
battery="$(wmic Path Win32_Battery get EstimatedChargeRemaining)"
battery="${battery/EstimatedChargeRemaining}"
[[ "$(trim "$battery")" ]] && battery="%"
batttery="$(trim "$battery")%"
;;
"Haiku")