Fixed doubled battery usage Windows

This commit is contained in:
Dylan 2016-02-05 22:08:32 +11:00
parent 517ae06c00
commit 941c556012
1 changed files with 2 additions and 2 deletions

4
fetch
View File

@ -1242,8 +1242,8 @@ getbattery () {
battery="$(wmic Path Win32_Battery get EstimatedChargeRemaining /value)"
battery=${battery/EstimatedChargeRemaining'='}
battery=${battery//[[:space:]]/ }
battery=${battery// }
battery+="${battery}%"
battery=${battery// }
battery+="%"
;;
esac
}