battery segment for symlinkers

pull/71/head
Syphdias 2019-05-23 23:44:17 +02:00
parent 6539b1cb38
commit 6310083a34
No known key found for this signature in database
GPG Key ID: 6F62E6FB3E67F92D
1 changed files with 1 additions and 1 deletions

View File

@ -494,7 +494,7 @@ prompt_battery() {
;;
Linux|Android)
local -a bats=( /sys/class/power_supply/(BAT*|battery)(FN) )
local -a bats=( /sys/class/power_supply/(BAT*|battery)/(FN) )
(( $#bats )) || return
local -i energy_now energy_full power_now